upower does not update state of internal battery when sheet battery is attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upower (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have a laptop with two batteries, a sheet battery and an internal battery, when I run the power down with both, the internal battery sometimes never updates it's state. You can see the last updated time as being 12051 seconds ago.
russ@russ-
Device: /org/freedeskto
native-path: /sys/devices/
power supply: yes
updated: Wed Nov 30 18:29:29 2011 (12058 seconds ago)
has history: no
has statistics: no
line-power
online: no
Device: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 18:29:36 2011 (12051 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
energy: 51.06 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 0.024 W
voltage: 12.397 V
percentage: 100%
capacity: 100%
technology: lithium-ion
Device: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:50:08 2011 (19 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 1.69 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 0.01 W
voltage: 10.977 V
percentage: 3.30983%
capacity: 100%
technology: lithium-ion
Daemon:
daemon-version: 0.9.14
can-suspend: yes
can-hibernate no
on-battery: yes
on-low-battery: no
lid-is-closed: no
lid-is-present: yes
is-docked: no
russ@russ-
alarm : 0
uevent : POWER_SUPPLY_
status : Discharging
present : 1
technology : Li-ion
cycle_count : 0
voltage_min_design : 11100000
voltage_now : 10865000
power_now : 25402000
energy_full_design : 51060000
energy_full : 51060000
energy_now : 12930000
type : Battery
model_name :
manufacturer : Sony Corporation
serial_number :
async : disabled
runtime_status : unsupported
runtime_usage : 0
runtime_active_kids : 0
runtime_enabled : disabled
control : auto
runtime_
runtime_active_time : 0
cat: /sys/devices/
autosuspend_
russ@russ-
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
[21:57:38.881] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:57:38 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 1.69 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 0.01 W
voltage: 10.977 V
percentage: 3.30983%
capacity: 100%
technology: lithium-ion
[21:58:08.884] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:08 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 1.69 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 0.01 W
voltage: 10.978 V
percentage: 3.30983%
capacity: 100%
technology: lithium-ion
(And then uplug sheet battery)...
[21:58:27.405] device removed: /org/freedeskto
[21:58:27.672] device removed: /org/freedeskto
[21:58:27.852] device added: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:27 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.25 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 26.318 W
voltage: 10.844 V
time to empty: 27.9 minutes
percentage: 23.9914%
capacity: 100%
technology: lithium-ion
History (charge):
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715507 26.318 discharging
1322715507 0.000 unknown
[21:58:27.854] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:27 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.25 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 26.318 W
voltage: 10.844 V
time to empty: 27.9 minutes
percentage: 23.9914%
capacity: 100%
technology: lithium-ion
History (charge):
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715507 26.318 discharging
1322715507 0.000 unknown
[21:58:27.856] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:27 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.25 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 26.318 W
voltage: 10.844 V
time to empty: 27.9 minutes
percentage: 23.9914%
capacity: 100%
technology: lithium-ion
History (charge):
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715507 26.318 discharging
1322715507 0.000 unknown
[21:58:28.880] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:28 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.25 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 26.318 W
voltage: 10.844 V
time to empty: 27.9 minutes
percentage: 23.9914%
capacity: 100%
technology: lithium-ion
History (charge):
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715507 26.318 discharging
1322715507 0.000 unknown
[21:58:29.878] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:29 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.25 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 26.318 W
voltage: 10.844 V
time to empty: 27.9 minutes
percentage: 23.9914%
capacity: 100%
technology: lithium-ion
History (charge):
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715507 26.318 discharging
1322715507 0.000 unknown
[21:58:30.880] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:30 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.13 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 25.942 W
voltage: 10.832 V
time to empty: 28.0 minutes
percentage: 23.7564%
capacity: 100%
technology: lithium-ion
History (charge):
1322715510 23.756 discharging
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715510 25.942 discharging
1322715507 26.318 discharging
1322715507 0.000 unknown
[21:58:31.878] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:31 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.13 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 25.942 W
voltage: 10.832 V
time to empty: 28.0 minutes
percentage: 23.7564%
capacity: 100%
technology: lithium-ion
History (charge):
1322715510 23.756 discharging
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715510 25.942 discharging
1322715507 26.318 discharging
1322715507 0.000 unknown
[21:58:32.880] device changed: /org/freedeskto
native-path: /sys/devices/
vendor: Sony Corporation
power supply: yes
updated: Wed Nov 30 21:58:32 2011 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 12.13 Wh
energy-empty: 0 Wh
energy-full: 51.06 Wh
energy-
energy-rate: 25.942 W
voltage: 10.832 V
time to empty: 28.0 minutes
percentage: 23.7564%
capacity: 100%
technology: lithium-ion
History (charge):
1322715510 23.756 discharging
1322715507 23.991 discharging
1322715507 0.000 unknown
History (rate):
1322715510 25.942 discharging
1322715507 26.318 discharging
1322715507 0.000 unknown