|
Bugzilla – Full Text Bug Listing |
| Summary: | Battery Notice displays -1 minute remaining | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Jared Ottley <jottley> |
| Component: | GNOME | Assignee: | E-mail List <gnome-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | dkukawka |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Integration Test | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | adds test for negative time remaing to correct -1 minutes remaing in low battery warning | ||
|
Description
Jared Ottley
2006-01-10 18:13:08 UTC
Rodrigo, we didn't use g-p-m in 10.0 right? In which case I think it was pulling the values from the /proc/acpi. AFAIR, yes, we had gnome-power-manager in 10.0. Jared, is gnome-power-manager process running on your machine? Also, what versions of hal and g-p-m do you have? hal-0.5.4-6.4 I don't think that g-p-m shipped with 10.0....I can't find it on the install media, or in autobuild. (So it is not running). powersaved is running. I know where I can g-p-m-0.2.8.1-0. Do you want me to try that or should I hold off Created attachment 65509 [details]
adds test for negative time remaing to correct -1 minutes remaing in low battery warning
After some more looking, it looks like the problem is two fold. One, ACPI is not getting the right information from the battery. ACPI/the battery is saying that the present rate at which the battery is being discharged is 0 mA. Which, of course, is bogus.
Two, the battery low warning is coming from the gnome applet "Battery Charge Monitor". When it does the calculation for time remaining, it ends up with a -1. In most places, the applet reports that this as unknown, except for in the battery low notification.
Submiting patch.
Jared, did you submit the patch to autobuild? If so, please close the bug I haven't. I will do it now. Its not good to add another translation string like this. Is it too far off the mark if we just set a floor of 0 for the number of minutes? If if minutes < 0, just say 0 in the string. Note that the string has missing _(" and was untranslatable.
On the other hand gnome-patch-translation was not yet sent to translators, so it's easy to add it just now.
For more see bug 144946.
Patch submitted to Autobuild with translatable string added. It is not the only string missing in gnome-patch-translation. |