Bug 162215 - last full capacity of a battery is not updated in hal database
last full capacity of a battery is not updated in hal database
Product: Fedora
Classification: Fedora
Component: hal (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Zeuthen
Depends On:
  Show dependency treegraph
Reported: 2005-06-30 17:10 EDT by Paul Ionescu
Modified: 2013-03-05 22:43 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-11 20:39:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Maybe fixes the issue. (1.40 KB, patch)
2005-06-30 17:22 EDT, Richard Hughes
no flags Details | Diff

  None (edit)
Description Paul Ionescu 2005-06-30 17:10:07 EDT
Description of problem:

The battery ACPI info about last full capacity from /proc/acpi/battery/BATx/info
is not updated.

How reproducible:


Steps to Reproduce:
1. When the battery is degrading a bit, and the last full battery info value is
updated by ACPI, the new value is not reflected in HAL database.
Actual results:
Value not updated.

Expected results:

Should be updated.

Additional info:

Maybe this value should be reread when there is an ACPI battery event.
Comment 1 Richard Hughes 2005-06-30 17:22:23 EDT
Created attachment 116191 [details]
Maybe fixes the issue.

I have no machine to build and test this at the moment, but I think this is the
solution to the problem.
Comment 2 David Zeuthen 2005-07-11 20:39:31 EDT
OK, I've put this into the upstream CVS. In the future, please report such
problems to the upstream mailing list as it's much more likely to get attention
faster (sorry for the lag, btw).

Note You need to log in before you can comment on or make changes to this bug.