Resurrection of Indicator Upower
-
@paulcarroty
I installed latest build, and the app no longer starts. -
@Eric-H fixed.
-
@paulcarroty
Reinstalled.
Does not work on surya. -
About this error :
ValueError: could not convert string to float: '3,65353'Maybe it is a localization error (french) : there is a comma instead of a point
-
@Eric-H yeah, upower depends on current locale. Fixed by enforcing
-
@paulcarroty
Reinstalled. It seems to work fine.
Do you need specific tests ? -
@Eric-H test fast charging if you have the hardware for.
-
@paulcarroty
Sorry, I couldn't do the test before today...So I used the Xiaomi charger supplied with the phone (which fully charges in less than half an hour) with the latest version (0.7) of uPower, but it seems that fast charging is not detected and there's nothing related in the logs.
-
Eric-H Attach the power.txt file when the battery is being charged and has less than 50% capacity.
-
@paulcarroty
I tried to generate thepower.txt
file but there is an error on stderr :cat: '/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pm6150@0:qcom,qpnp-smb5/power_supply/main/health': Invalid argument
The
health
files exists and is world readable :phablet@ubuntu-phablet:~/tmp$ ls -al /sys/devices/platform/soc/c440000.qcom\,spmi/spmi-0/spmi0-00/c440000.qcom\,spmi\:qcom\,pm6150@0\:qcom\,qpnp-smb5/power_supply/main/health -r--r--r-- 1 system system 4096 mai 6 06:21 /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pm6150@0:qcom,qpnp-smb5/power_supply/main/health
The error persists even if I try to
- add double quotes,
- add simple quotes
- replace cat with tail