Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Battery, How to monitor battery< Next Oldest | Next Newest >
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Sep. 10 2008,04:30 QUOTE

You need to edit .torsmorc which is in /home/dsl

To show that battery status you will need to check the name that the battery has. Assuming the system used acpi look in the folder /proc/acpi/battery. There will be another directory - something like BAT0, BAT1, MBAT,... You need to use this name in .torsmorc to show the battery status. Towards the end of .torsmorc you will find the line:
Code Sample
${color #ddd}Battery:  $color ${battery }

you need to add the name of the battery directory after 'battery ' inside the {} brackets, e.g.
Code Sample
${color #ddd}Battery:  $color ${battery MBAT}
is what is required on a Toshiba Libretto.
Back to top
Profile PM 
5 replies since May 11 2008,19:57 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Battery

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code