! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[feature-request] Show time elapsed on battery since last AC disconnect
Status:
RESOLVED: MOVED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Goran 2019-08-11 21:17:13 CEST
Currently, the power manager displays the time remaining on battery, but it does not display the time that has elapsed since the last AC disconnect, which the users might be interested in as well (for instance, to benchmark their battery performance), and having something like text of the elapsed time, in the tooltip of the panel plugin, or when clicking on the plugin, would be nice to have.
Now, while the upower interface doesn't seem to provide this info directly, it does store AC connect/disconnect events, see for instance https://askubuntu.com/a/833983, so this is likely a doable task.
One potential issue is how system suspends (to RAM/drive) should be handled. For example, a user may suspend his computer to RAM and then bring it back up a couple of days later; the plugin would then show that the system has been on battery for a couple of days, which may be a bit misleading.
Comment 1 Git Bot editbugs 2020-05-27 01:46:42 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/62.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15805

Reported by:
Goran
Reported on: 2019-08-11
Last modified on: 2020-05-27

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Attachments

Additional information