Michael Meskes <mes...@debian.org> writes: >> Thus Linux 2.6.30 exports both power_now and current_now containing the same >> value. However, the latter is not correct and will get deprecated sooner or >> later, so please start preferring (reading) the former. > > For whatever reason my systems do not have power_now at all. I tried all > kernels up to 2.6.32. Could you please send me your /sys/class/power_supply > directory so I have some data to test with?
There is nothing more than two symlinks in it: AC and BAT0. Here is the grep . * output in the BAT0 directory when the laptop is on AC power: alarm:1286000 current_now:0 energy_full:25710000 energy_full_design:47510000 energy_now:25580000 manufacturer:Panasonic model_name:IBM-92P1060 power_now:0 present:1 serial_number: 3610 status:Unknown technology:Li-ion type:Battery uevent:POWER_SUPPLY_NAME=BAT0 uevent:POWER_SUPPLY_TYPE=Battery uevent:POWER_SUPPLY_STATUS=Unknown uevent:POWER_SUPPLY_PRESENT=1 uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000 uevent:POWER_SUPPLY_VOLTAGE_NOW=12349000 uevent:POWER_SUPPLY_CURRENT_NOW=0 uevent:POWER_SUPPLY_POWER_NOW=0 uevent:POWER_SUPPLY_ENERGY_FULL_DESIGN=47510000 uevent:POWER_SUPPLY_ENERGY_FULL=25710000 uevent:POWER_SUPPLY_ENERGY_NOW=25580000 uevent:POWER_SUPPLY_MODEL_NAME=IBM-92P1060 uevent:POWER_SUPPLY_MANUFACTURER=Panasonic uevent:POWER_SUPPLY_SERIAL_NUMBER= 3610 voltage_min_design:10800000 voltage_now:12349000 And when on battery: alarm:1286000 current_now:15458000 energy_full:25710000 energy_full_design:47510000 energy_now:25490000 manufacturer:Panasonic model_name:IBM-92P1060 power_now:15458000 present:1 serial_number: 3610 status:Discharging technology:Li-ion type:Battery uevent:POWER_SUPPLY_NAME=BAT0 uevent:POWER_SUPPLY_TYPE=Battery uevent:POWER_SUPPLY_STATUS=Discharging uevent:POWER_SUPPLY_PRESENT=1 uevent:POWER_SUPPLY_TECHNOLOGY=Li-ion uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000 uevent:POWER_SUPPLY_VOLTAGE_NOW=11891000 uevent:POWER_SUPPLY_CURRENT_NOW=15458000 uevent:POWER_SUPPLY_POWER_NOW=15458000 uevent:POWER_SUPPLY_ENERGY_FULL_DESIGN=47510000 uevent:POWER_SUPPLY_ENERGY_FULL=25710000 uevent:POWER_SUPPLY_ENERGY_NOW=25490000 uevent:POWER_SUPPLY_MODEL_NAME=IBM-92P1060 uevent:POWER_SUPPLY_MANUFACTURER=Panasonic uevent:POWER_SUPPLY_SERIAL_NUMBER= 3610 voltage_min_design:10800000 voltage_now:11891000 -- Regards, Feri. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org