[Powertop] [BUG] powertop shows estimates only for 1st battery from 2

Maksim Melnikau <maxposedon at gmail.com>
Newsgroups dev.linux.lists.powertop
Message-ID <CAGbmdnXgHmeKcVxJ0gvNtmixc8E8=Ah9JDeqb-0fwYRm+w187g@mail.gmail.com>
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
attachment.html (text/html, 1.9 KB)
<div dir="ltr"><div>Hello!</div><div><br></div>I have 2 batteries in my thinkpad helix laptop, and it looks like powertop shows &quot;the estimated remaining time&quot; just for first battery, what is a bit confusing. May be it somehow connected to some hardware features of batteries switching.<div>
<br></div><div># powertop, Overview page</div><div><div>The battery reports a discharge rate of 7.67 W</div><div>The estimated remaining time is 2 hours, 17 minutes</div><div><br></div><div># powertop -V</div><div>PowerTOP versionv2.4, compiled on Jul 29 2013<br>
</div></div><div><br></div><div><div># cat /sys/class/power_supply/BAT0/uevent</div><div>POWER_SUPPLY_NAME=BAT0</div><div>POWER_SUPPLY_STATUS=Unknown</div><div>POWER_SUPPLY_PRESENT=1</div><div>POWER_SUPPLY_TECHNOLOGY=Li-poly</div>
<div>POWER_SUPPLY_CYCLE_COUNT=0</div><div>POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000</div><div>POWER_SUPPLY_VOLTAGE_NOW=12503000</div><div>POWER_SUPPLY_POWER_NOW=0</div><div>POWER_SUPPLY_ENERGY_FULL_DESIGN=42010000</div><div>
POWER_SUPPLY_ENERGY_FULL=42010000</div><div>POWER_SUPPLY_ENERGY_NOW=41940000</div><div>POWER_SUPPLY_CAPACITY=99</div><div>POWER_SUPPLY_MODEL_NAME=45N1103</div><div>POWER_SUPPLY_MANUFACTURER=SMP</div><div>POWER_SUPPLY_SERIAL_NUMBER= 3507</div>
<div><br></div><div># cat /sys/class/power_supply/BAT1/uevent</div><div>POWER_SUPPLY_NAME=BAT1</div><div>POWER_SUPPLY_STATUS=Discharging</div><div>POWER_SUPPLY_PRESENT=1</div><div>POWER_SUPPLY_TECHNOLOGY=Li-poly</div><div>
POWER_SUPPLY_CYCLE_COUNT=0</div><div>POWER_SUPPLY_VOLTAGE_MIN_DESIGN=14800000</div><div>POWER_SUPPLY_VOLTAGE_NOW=15178000</div><div>POWER_SUPPLY_POWER_NOW=8165000</div><div>POWER_SUPPLY_ENERGY_FULL_DESIGN=28050000</div><div>
POWER_SUPPLY_ENERGY_FULL=26370000</div><div>POWER_SUPPLY_ENERGY_NOW=16750000</div><div>POWER_SUPPLY_CAPACITY=63</div><div>POWER_SUPPLY_MODEL_NAME=45N1101</div><div>POWER_SUPPLY_MANUFACTURER=SMP</div><div>POWER_SUPPLY_SERIAL_NUMBER= 1840</div>
</div><div><br></div></div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.