Bug#486873: [PATCH] support batteries which don't provide energy_now v2

2008-09-01 Thread Michal Hocko
Attached patch is updated vetsion of the previous one with the fixed rate calculation (/sys/class/power_supply/*/current_* are in ľA according to the linux-src/Documentation/power/power_supply_class.txt and not in ľW as expected by the original code). Please note that I don't have any notebook whi

Bug#486873: [PATCH] support batteries which don't provide energy_now

2008-07-22 Thread Michal Hocko
Package: powertop Version: 1.10-1 Followup-For: Bug #486873 Hi, I have exatly the same problem like the one reported in this issue. After some discussion with battery kernel module it seems that some batteries don't export energy_now attribute and export only charge_now value. Nevertheless energy