sriharshaarangi / BatteryChargeLimit

GNU General Public License v3.0
378 stars 103 forks source link

feature request: close app notification when charger is disconnected. #232

Closed rezad1393 closed 2 years ago

rezad1393 commented 2 years ago

feature request: close app notification when charger is disconnected.

it is a bit annoying that use has to click disable the service even after disconnecting the charger.

milux commented 2 years ago

For certain control files (those that only disable charging and not the whole power supply), this behavior is already exactly that. For the other control files, this is not possible. Once the power supply is disabled, there is no way to detect the absence of the power supply, unless charging is re-enabled. Therefore closing this issue.