-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kabel The Real schrieb: > Hi out there, > > I own an IBM Thinkpad T60, and I use Gentoo with Gnome. Everything is > working very good, except on applet, the "Batterie Charge Monitor" > Applet. Well this applet or a similar one is very important for me, > because I mostly use my notebook without Power Supply... When I want to > add the applet to my Panel I get the following Error message: The panel > encountered a problem while loading "OAFIID:GNOME_BattstatApplet". > Now I know that the batterie Status indicator is working, because when I > use Kismet it's telling me how long I have batterie. Always starting > Kismet to know how long my power last isn't the right thing to do, so > I'm asking you if you can help me, either to fix the problem with that > applet or indicate me anotherone or a shellcommand to find out how long > the power will last... > > I'm happy for any hint,
With the tp_smapi module, you could use: cat /sys/devices/platform/smapi/BAT0/remaining_percent And the time in minutes: cat /sys/devices/platform/smapi/BAT0/remaining_running_time Everything is well explained on: http://www.thinkwiki.org/wiki/Tp_smapi Till -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsgEGHJkJE5KI9PERAt4UAKCdQRJOuNHSQrpv+59E7zg/jrc2QACdEX2X S2DTpGamdiN0KVa2+HmaKqE= =HbaI -----END PGP SIGNATURE----- -- [EMAIL PROTECTED] mailing list