Page 1 of 1

charge vs energy in /sys/class/power_supply/BAT0/

Posted: Tue Nov 29, 2011 5:23 am
by JamieKitson
Hi,

if boot with AC plugged in the /sys/class/power_supply/BAT0/ directory is populated with charge_*, but if I boot on battery the directory is populated with energy_*. Is this true for everyone? I'm running a Thinkpad X220.

btw, (un)plugging AC while running does not alter the file names.

Thanks, Jamie

Re: charge vs energy in /sys/class/power_supply/BAT0/

Posted: Wed Feb 29, 2012 2:38 pm
by Soul_Est
What distro are you running and which version is it? There are a few of us who could help you with the question (myself included) but we need to know that at least.