Configure the battery at Conky can be a nightmare looking for this solution at web 'cus there isn't very information about it. I already had this problem...
ACPI battery number is given as argument, at 'funtions' battery, battery_bar and battery_percent. By default the argument is BAT0. But if it doen't work, let's find out the correct argument:
Open the terminal and type:
$ ls /proc/acpi/battery
There can be various kind of output:
CMB0
BAT1
BAT0
...etc
My output was: CMB0
Open the .conkyrc file and edit to (examples):
${battery CMB0}
${battery_bar CMB0}
${battery_percent CMB0}
Obviously, replace CMB0 with the output you received earlier.
阅读(650) | 评论(0) | 转发(0) |