Resurrection of Indicator Upower
-
Test builds can be downloaded from Github Actions.
@alagirialagiri submit your Pixel data.
-
I am not sure if i grabbed working build 0.4 from today
-
Works on Poco X3 NFC
-
@uxes
Shouldn't device names becurtana
,joyeuse
,excalibur
orgram
instead ofmiatoll
?
https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-redmi-note-9-pro/xiaomi-miatoll/-/tree/focal/overlay/system/etc/deviceinfo/devices?ref_type=heads -
@Eric-H it is pretty much possible i did not look how is getting device name implemented, but device is identified as miatoll in logs, and also in releases http://system-image.ubports.com/utnext/arm64/android9plus/daily/ on same level as surya
-
@paulcarroty
I installed test build for surya.
It seems to work but it does not stop charging when limit is reached.Is it related to the following message ?
/bin/sh: 1: cannot create /sys/class/power_supply/battery/charging_enabled: Permission denied
-
@uxes It was just an idea.
Sorry for the inconvenience. -
Another reboot helped, now indicator works, we can mark miatoll as working, just needed two reboot not just one
-
@Eric-H said in Resurrection of Indicator Upower:
/bin/sh: 1: cannot create /sys/class/power_supply/battery/charging_enabled: Permission denied
@paulcarroty I'm currently experimenting a udev rules :
# Set charging permissions so indicator-upower can access it ACTION=="add|change", SUBSYSTEM=="power_supply", KERNEL=="battery", RUN+="/bin/chmod 0666 /sys/class/power_supply/%k/charging_enabled"
It seems to work. I will confirm later.