Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18985 - [upower] battery history isn't saved

Attached to Project: Arch Linux
Opened by Pierce Lopez (ploxiln) - Wednesday, 07 April 2010, 05:11 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 07 April 2010, 08:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If one uses gnome-power-manager on a laptop, one can see a history of the charge level of the battery and other things. But all that history is lost on reboot (which has an adverse effect on the accuracy statistics).

upowerd is actually what saves the history. It tries to save it in /var/lib/upower/, but that folder isn't created one way or the other when the archlinux upower package is installed. If one creates /var/lib/upower (root:root rwxr-xr-x), reboots, allows their battery to drain or charge for a few minutes, then reboots again, one can see that the statistics were saved in the folder in question, and are also visible in gnome-power-manager.

Basically, the upower package should somehow contain or create /var/lib/upower/.

tested with upower 0.9.1-1, gnome-power-manager 2.30.0-1
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 07 April 2010, 08:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.2-2

Loading...