Skip to content

applets/battery: adjust show/hide conditions for charge limits

When we are using a charge threshold, the kernel may stop charging within a percentage point of the actual threshold and this is considered correct behavior, so we have to handle that. See

Also, Upower may give us a status of "Not charging" rather than "Fully charged", so we need to account for that as well. See

BUG: 435931

cc @broulik @ratijas

Edited by Nate Graham

Merge request reports