Re: [Powertop] [BUG] powertop shows estimates only for 1st battery from 2
Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <[email protected]> |
On (10/11/13 11:16), Maksim Melnikau wrote: > Date: Fri, 11 Oct 2013 11:16:34 +0300 > From: Maksim Melnikau <maxposedon(a)gmail.com> > To: powertop(a)lists.01.org > Subject: Re: [Powertop] [BUG] powertop shows estimates only for 1st battery > from 2 > > When first battery discharged, kernel reports following info thank you. I'll take a look. -ss > % cat /sys/class/power_supply/BAT0/uevent > POWER_SUPPLY_NAME=BAT0 > POWER_SUPPLY_STATUS=Discharging > POWER_SUPPLY_PRESENT=1 > POWER_SUPPLY_TECHNOLOGY=Li-poly > POWER_SUPPLY_CYCLE_COUNT=0 > POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000 > POWER_SUPPLY_VOLTAGE_NOW=12401000 > POWER_SUPPLY_POWER_NOW=7800000 > POWER_SUPPLY_ENERGY_FULL_DESIGN=42010000 > POWER_SUPPLY_ENERGY_FULL=42010000 > POWER_SUPPLY_ENERGY_NOW=41810000 > POWER_SUPPLY_CAPACITY=99 > POWER_SUPPLY_MODEL_NAME=45N1103 > POWER_SUPPLY_MANUFACTURER=SMP > POWER_SUPPLY_SERIAL_NUMBER= 3507 > > % cat /sys/class/power_supply/BAT1/uevent > POWER_SUPPLY_NAME=BAT1 > POWER_SUPPLY_STATUS=Unknown > POWER_SUPPLY_PRESENT=1 > POWER_SUPPLY_TECHNOLOGY=Li-poly > POWER_SUPPLY_CYCLE_COUNT=0 > POWER_SUPPLY_VOLTAGE_MIN_DESIGN=14800000 > POWER_SUPPLY_VOLTAGE_NOW=13902000 > POWER_SUPPLY_POWER_NOW=0 > POWER_SUPPLY_ENERGY_FULL_DESIGN=28050000 > POWER_SUPPLY_ENERGY_FULL=26370000 > POWER_SUPPLY_ENERGY_NOW=930000 > POWER_SUPPLY_CAPACITY=3 > POWER_SUPPLY_MODEL_NAME=45N1101 > POWER_SUPPLY_MANUFACTURER=SMP > POWER_SUPPLY_SERIAL_NUMBER= 1840 > > On Fri, Oct 11, 2013 at 9:19 AM, Maksim Melnikau <maxposedon(a)gmail.com> wrote: > > Hello! > > > > I have 2 batteries in my thinkpad helix laptop, and it looks like powertop > > shows "the estimated remaining time" just for first battery, what is a bit > > confusing. May be it somehow connected to some hardware features of > > batteries switching. > > > > # powertop, Overview page > > The battery reports a discharge rate of 7.67 W > > The estimated remaining time is 2 hours, 17 minutes > > > > # powertop -V > > PowerTOP versionv2.4, compiled on Jul 29 2013 > > > > # cat /sys/class/power_supply/BAT0/uevent > > POWER_SUPPLY_NAME=BAT0 > > POWER_SUPPLY_STATUS=Unknown > > POWER_SUPPLY_PRESENT=1 > > POWER_SUPPLY_TECHNOLOGY=Li-poly > > POWER_SUPPLY_CYCLE_COUNT=0 > > POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000 > > POWER_SUPPLY_VOLTAGE_NOW=12503000 > > POWER_SUPPLY_POWER_NOW=0 > > POWER_SUPPLY_ENERGY_FULL_DESIGN=42010000 > > POWER_SUPPLY_ENERGY_FULL=42010000 > > POWER_SUPPLY_ENERGY_NOW=41940000 > > POWER_SUPPLY_CAPACITY=99 > > POWER_SUPPLY_MODEL_NAME=45N1103 > > POWER_SUPPLY_MANUFACTURER=SMP > > POWER_SUPPLY_SERIAL_NUMBER= 3507 > > > > # cat /sys/class/power_supply/BAT1/uevent > > POWER_SUPPLY_NAME=BAT1 > > POWER_SUPPLY_STATUS=Discharging > > POWER_SUPPLY_PRESENT=1 > > POWER_SUPPLY_TECHNOLOGY=Li-poly > > POWER_SUPPLY_CYCLE_COUNT=0 > > POWER_SUPPLY_VOLTAGE_MIN_DESIGN=14800000 > > POWER_SUPPLY_VOLTAGE_NOW=15178000 > > POWER_SUPPLY_POWER_NOW=8165000 > > POWER_SUPPLY_ENERGY_FULL_DESIGN=28050000 > > POWER_SUPPLY_ENERGY_FULL=26370000 > > POWER_SUPPLY_ENERGY_NOW=16750000 > > POWER_SUPPLY_CAPACITY=63 > > POWER_SUPPLY_MODEL_NAME=45N1101 > > POWER_SUPPLY_MANUFACTURER=SMP > > POWER_SUPPLY_SERIAL_NUMBER= 1840 > > > _______________________________________________ > PowerTop mailing list > PowerTop(a)lists.01.org > https://lists.01.org/mailman/listinfo/powertop >