Jolla C2 battery capacity reporting is broken, potentially after complete battery drain

Thanks for providing the conversation log, it is much more helpful than the bug report.

Can you try the following after fully charging the phone (that is, after /sys/class/power_supply/sgm41511_charger/status reports Full)?

echo 1000 > /sys/class/power_supply/sc27xx-fgu/calibrate
echo 1000 > /sys/class/power_supply/sc27xx-fgu/capacity
reboot

(The suggestion to write “1” to the “calibrate” property was wrong, it set the capacity to 0.1%)

3 Likes