My laptop's battery is bigger than yours

Sam Varshavchik mrsam at courier-mta.com
Sat Nov 14 20:23:02 UTC 2009


Richard Hughes writes:

> 2009/11/12 Sam Varshavchik <mrsam at courier-mta.com>:
>> Meanwhile, with all of the above, gnome-power-manager is now showing me the
>> last full charge of 947.4 watt-hours, throwing everything off kilter.
> 
> What's the output of "devkit-power --dump" in this case? Thanks.

Here's what devkit-power --dump produces. Note, that despite that
devkit-power shows 947 watt-hours for 'energy-full', if I look in /sys 
myself, this is what I get:

[mrsam at lc2440 tmp]$ cat 
/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/PNP0C0A:00/power_supply/BAT0/energy_full
63000000

/sys shows 63 watts, and this is what devkit-power tells me:

Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/PNP0C0A:00/power_supply/BAT0
  vendor:               ASUSTEK
  model:                M7V2P-E
  power supply:         yes
  updated:              Sat Nov 14 15:11:36 2009 (16 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              12.495 Wh
    energy-empty:        0 Wh
    energy-full:         947.07 Wh
    energy-full-design:  60 Wh
    energy-rate:         27.285 W
    voltage:             15.268 V
    percentage:          1.31933%
    capacity:            100%
    technology:          lithium-ion
  History (charge):
    1258229496	1.319	charging
    1258229466	1.296	charging
    1258229432	1.270	charging
    1258229412	1.294	discharging
  History (rate):
    1258229496	27.285	charging
    1258229466	27.180	charging
    1258229432	36.990	charging
    1258229413	37.125	discharging

Device: /org/freedesktop/DeviceKit/Power/devices/line_power_AC0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/ACPI0003:00/power_supply/AC0
  power supply:         yes
  updated:              Sat Nov 14 15:10:32 2009 (80 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Daemon:
  daemon-version:  010
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes




-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20091114/412a28dd/attachment-0001.sig>


More information about the fedora-list mailing list