Skip to content
Snippets Groups Projects
Commit 875db9f6 authored by Pratik Karki's avatar Pratik Karki ⌨️ Committed by Gaël Bonithon
Browse files

Don't show time to empty calculation for large hours


Add a 'power_supply' boolean to track power supply status.
Adjust logic to display the 'Fully charged' message correctly based on
whether the device is a power supply. This improves the accuracy of
power status information shown. Additionally, show 0:00 on the plugin
side instead of high number of hours.

Fixes: #240
Signed-off-by: Pratik Karki's avatarPratik Karki <pratik@prertik.com>
parent 9d93c40b
No related branches found
No related tags found
No related merge requests found
Pipeline #30291 passed with stages
in 3 minutes and 57 seconds