[Bug 477] battery plugin does not account for second battery

[email protected]
Newsgroups gmane.comp.desktop.xfce.goodies.devel
Message-ID <[email protected]>
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=477





------- Additional Comments From [email protected]  2005-03-02 20:29 UTC -------
I have looked at the source code to battery plugin 0.2.0, and it *should*
account for the second battery in my Thinkpad, but it's only showing the
external battery, which is in /proc/acpi/battery/BAT2. If the external battery
isn't plugged in, then it shows BAT0.

I wonder if there's simply a need for code that checks the other battery if the
current battery runs out? I think a good way to handle this would be to start
checking other batteries once the current battery goes below threshold. A highly
useful message might be:

"The current battery (BAT2) has reached 10%. Don't worry, because another
battery (BAT0) has power. Your system will switch over automatically."

Followed a few hours later by:

"The current battery (BAT0) has reached 10%. Time to panic, because no other
batteries have power, either. Go find an outlet!"

Naturally, we'll have to write some more "friendly, yet firm" language ;-)

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.