After resuming from suspend, I end up with a second battery in the power indicator menu (but marked as not present). It seems that this comes directly from upower itself:
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
power supply: yes
updated: Fri Sep 16 20:19:20 2011 (45099 seconds ago)
has history: no
has statistics: no
line-power
online: no
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
vendor: Samsung SDI
model: DELL M1RPP14
serial: 6116
power supply: yes
updated: Sat Sep 17 08:50:34 2011 (25 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 41.6137 Wh
energy-empty: 0 Wh
energy-full: 94.5 Wh
energy-full-design: 94.5 Wh
energy-rate: 15.1762 W
voltage: 11.225 V
time to empty: 2.7 hours
percentage: 44.0357%
capacity: 100%
technology: lithium-ion
History (charge):
1316245834 44.036 discharging
1316245804 44.167 discharging
1316245774 44.298 discharging
History (rate):
1316245834 15.176 discharging
1316245804 12.285 discharging
1316245774 11.790 discharging
Device: /org/freedesktop/UPower/devices/battery_BAT1
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:01/power_supply/BAT1
power supply: no
updated: Sat Sep 17 08:50:50 2011 (9 seconds ago)
has history: no
has statistics: no
battery
present: no
rechargeable: no
state: unknown
energy: 0 Wh
energy-empty: 0 Wh
energy-full: 0 Wh
energy-full-design: 0 Wh
energy-rate: 0 W
percentage: 0%
Daemon:
daemon-version: 0.9.13
can-suspend: yes
can-hibernate yes
on-battery: yes
on-low-battery: no
lid-is-closed: no
lid-is-present: yes
is-docked: no
After resuming from suspend, I end up with a second battery in the power indicator menu (but marked as not present). It seems that this comes directly from upower itself:
Device: /org/freedeskto p/UPower/ devices/ line_power_ AC LNXSYSTM: 00/device: 00/ACPI0003: 00/power_ supply/ AC
native-path: /sys/devices/
power supply: yes
updated: Fri Sep 16 20:19:20 2011 (45099 seconds ago)
has history: no
has statistics: no
line-power
online: no
Device: /org/freedeskto p/UPower/ devices/ battery_ BAT0 LNXSYSTM: 00/device: 00/PNP0C0A: 00/power_ supply/ BAT0 full-design: 94.5 Wh
native-path: /sys/devices/
vendor: Samsung SDI
model: DELL M1RPP14
serial: 6116
power supply: yes
updated: Sat Sep 17 08:50:34 2011 (25 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 41.6137 Wh
energy-empty: 0 Wh
energy-full: 94.5 Wh
energy-
energy-rate: 15.1762 W
voltage: 11.225 V
time to empty: 2.7 hours
percentage: 44.0357%
capacity: 100%
technology: lithium-ion
History (charge):
1316245834 44.036 discharging
1316245804 44.167 discharging
1316245774 44.298 discharging
History (rate):
1316245834 15.176 discharging
1316245804 12.285 discharging
1316245774 11.790 discharging
Device: /org/freedeskto p/UPower/ devices/ battery_ BAT1 LNXSYSTM: 00/device: 00/PNP0C0A: 01/power_ supply/ BAT1 full-design: 0 Wh
native-path: /sys/devices/
power supply: no
updated: Sat Sep 17 08:50:50 2011 (9 seconds ago)
has history: no
has statistics: no
battery
present: no
rechargeable: no
state: unknown
energy: 0 Wh
energy-empty: 0 Wh
energy-full: 0 Wh
energy-
energy-rate: 0 W
percentage: 0%
Daemon:
daemon-version: 0.9.13
can-suspend: yes
can-hibernate yes
on-battery: yes
on-low-battery: no
lid-is-closed: no
lid-is-present: yes
is-docked: no
ProblemType: Bug ature: Ubuntu 3.0.0-11.18-generic 3.0.4
DistroRelease: Ubuntu 11.10
Package: upower 0.9.13-1
ProcVersionSign
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Sat Sep 17 08:50:10 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
SourcePackage: upower
UpgradeStatus: No upgrade log present (probably fresh install)