Resurrection of Indicator Upower
-
@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.
-
New release arrived, thx to all contributors.
-
@paulcarroty
I can see on github that v0.5 has been released.
But only v0.4 seems to be available on the open store. -
@Eric-H probably the store review still in progress.
-
@paulcarroty
Ok.
Thanks for your work. -
Hi @Eric-H
Here is an explanation:
-
@paulcarroty
I tested the 0.5 release on surya and I can confirm that it works as expected.Regarding the udev rule, it works perfectly with permissions 0666.
But if I try 0664, it no longer works…
What is the group of the/sys/class/power_supply/battery/charging_enabled
file on other devices? -
@Eric-H
miatoll-rwxrwxrwx 1 system system 4,0K led 19 12:40 /sys/class/power_supply/battery/charging_enabled