On Sat, 4 Sep 2004 11:12:09 +0200, Stefan Seyfried
On Fri, Sep 03, 2004 at 05:24:19PM -0700, Osho GG wrote:
The problem is that kpowersave does not display the status of both the batteries. I can only see the status of one battery.
No, you should see the overall percentage of both batteries. If not - it's a bug of powersaved.
Aah. I think kpowersave does show the combined percentage of both the batteries. But again, it would really be nice to see the separate charges.
The Laptop Battery control module in Kcontrol does show both batteries and their charge status correctly (so ACPI is reporting them correctly).
Powersaved combines all battery charge levels by doing
charge = (charge1+charge2)/(capacity1+capacity2)
(this is from memory, but it should be correct). With "powersave -B" you can get the charge status of both batteries separated, but it is not possible in the kpowersave applet yet. Technical background: the applet just asks the daemon for charge status and the socket interface for multiple batteries is not implemented yet, so kpowersave cannot display multiple batteries.
Thanks. powersave -B works well enough for me now.
The KDE Laptop Battery applet does direct reading of /proc/acpi/battery which on some machines is not desirable (high system load, some machines have keyboard problems when reading these pseudo files too often etc.) and calculates the values from there. So it is a trade off and you have to decide for yourself which one to use.
I did try using KDE Laptop applet to display icons in the KDE system tray. But, for some reason I can never get the KDE Laptop applet to show in the system tray (even though I have checked the necessary option in KControl module and click on the Start Battery Monitor). thanks, Osho