Hello, I believe I've identified the problem.
In the gnome-power-manager source code, it seems to be asking HAL what the value of the property 'battery.remaining_time' is. However, this value only exists if the battery is currently being discharged. My batteries discharge asymmetrically (media bay first), so it only reports the time remaining for the media bay battery instead of taking the raw power usage and dividing it by the raw total capacity like it should. I'd try to actually fix this in the code, but while I can read code reasonably well, I don't understand the overall architecture of the power manager and the modification is probably best left to someone more familiar with the code. I believe the problems lie in gpm-cell.c. Thanks, Brian On Sat, 2008-01-12 at 18:30 +0000, Brian Neltner wrote: > Public bug reported: > > Binary package hint: gnome-power-manager > > My Dell Latitude d520 has the standard primary battery, and an > additional battery in the media bay. In Feisty, it gave an accurate > report on time remaining. In Gutsy, while the battery percentage is > reported accurately as the sum of the charge remaining over the sum of > the total capacity, the time remaining is wrong. In fact, somewhat > entertainingly if I look at the Power History "Estimated Time > Remaining", it has a slope of taking about 20 minutes to drop by 10 > minutes of estimated remaining time. > > Thanks, > > ** Affects: gnome-power-manager (Ubuntu) > Importance: Undecided > Status: New > -- battery time remaining reported incorrectly https://bugs.launchpad.net/bugs/182369 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
