hs7sv


Group: Members
Posts: 247
Joined: June 2005 |
 |
Posted: Feb. 18 2006,07:19 |
 |
For the better time remaining calculating and 2 batteries support, I replaced wmacpi_1.99r7.dsl with wmbatteries. The below is .wmbatteriesrc file:-
Code Sample | #wmbatteries config file #see manpage for details
#lightcolor = <string> // must be rgb:XX/XX/XX (hex) lightcolor = rgb:6E/C6/3B
#temperature = <string> // name of temperature file temperature = /proc/acpi/thermal_zone/THM0/temperature
#bat0_state = <string> // name of bat0 state file bat0_state = /proc/acpi/battery/CMB1/state
#bat1_state = <string> // name of bat1 state file bat1_state = /proc/acpi/battery/CMB2/state
#bat0_info = <string> // name of bat0 info file bat0_info = /proc/acpi/battery/CMB1/info
#bat1_info = <string> // name of bat1 info file bat1_info = /proc/acpi/battery/CMB2/info
#ac_state = <string> // name of ac_adapter state file ac_state = /proc/acpi/ac_adapter/AC/state
#togglespeed = <integer> // in seconds togglespeed = 5
#animationspeed = <integer> // in ms >=100 animationspeed = 150
#historysize = <integer> // >=1 <=1000 history_size = 20
#mode = <string> // [rate,temp,toggle] mode = toggle
#backlight = [yes|no|true|false] backlight = no
#updateinterval = <integer> // interval in seconds updateinterval = 2
#alarm = <integer> // alarm level in percent alarm = 10 |
-------------- "My advice is to just return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."
Klaus Knopper
|