Commit 4011cecf authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[plugins/battery] Determine empty battery based on percentage instead of remaning time

timeToEmpty in UPower is unreliable, e.g. it's always 0 on the PinePhone.

Instead warn when the percentage drops below 15%. That's how it is for Android anyway.
parent 28e04a35
Pipeline #52280 passed with stage
in 5 minutes and 37 seconds