Skip to content

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

Nicolas Fella requested to merge work/batterythres into master

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.

Merge request reports