This is what I just got. I have the battery fully charged.

tw@potatOS:~$ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ADP1
  power supply:         yes
  updated:              Tue 25 Mar 2014 08:20:03 PM CLST (19445 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT1
  vendor:               SAMSUNG Electronics
  power supply:         yes
  updated:              Tue 25 Mar 2014 11:19:19 PM CLST (8689 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    energy:              42.18 Wh
    energy-empty:        0 Wh
    energy-full:         42.18 Wh
    energy-full-design:  45.14 Wh
    energy-rate:         2.01793 W
    voltage:             8.383 V
    percentage:          100%
    capacity:            93.4426%
    technology:          lithium-ion

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


Here it is, a minute later (or so), after the AC being disconnected from the 
computer

tw@potatOS:~$ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ADP1
  power supply:         yes
  updated:              Tue 25 Mar 2014 08:20:03 PM CLST (19616 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT1
  vendor:               SAMSUNG Electronics
  power supply:         yes
  updated:              Tue 25 Mar 2014 11:19:19 PM CLST (8860 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    energy:              42.18 Wh
    energy-empty:        0 Wh
    energy-full:         42.18 Wh
    energy-full-design:  45.14 Wh
    energy-rate:         2.01793 W
    voltage:             8.383 V
    percentage:          100%
    capacity:            93.4426%
    technology:          lithium-ion

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


As you can see, the thing is, that the status of the AC Adapter isn't being 
picked up by the computer, and thus, isn't telling the computer that the status 
of the battery might change. For example, the other day I had full battery, 
disconnected the AC Adapter, and forgot about it.What happened was, as there 
was no change in the status, the indicator never showed up that the battery was 
running low, resulting on the computer shutting down because it had no more 
energy.

Anything you might need, please tell me.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1261196

Title:
  Power statistics not refreshing

Status in “upower” package in Ubuntu:
  New

Bug description:
  My problem is the following, when i check the battery status in Power
  Statistics (gnome-power-statistics in terminal), it shows that my battery
  status is being refreshed every 20 seconds or so...
  The thing is, that it doesn't refresh the AC Adapter, and so it shows that the
  adapter is disconnected all the time. (clearly, if i started the computer with
  the adapter disconnected, if i did it with it connected, it will show it as
  always charging).

  the command 'acpi -v' does take notice of when the adapter is connected, but
  fails to recognize that the battery is being charged, and power statistics
  don't refresh the status.

  Any ideas on how to solve this?

  The refresh on the battery side seems to be dependent (among other things) of
  the battery status. For example, (i restarted with the ac adapter plugged in,
  so it knows it is plugged, but not refreshing) when my battery got fully
  charged, as it doesn't recognize when the AC adapter gets unplugged, and so, 
it
  doesn't need to refresh the battery status (if it isn't losing any battery
  charge, because the AC adapter has been plugged all the time, why refresh 
it?).

  if i use acpi -V,with the cable connected, i get:

  tw@potatOS:~$ acpi -V
  Battery 0: Discharging, 96%, 06:14:38 remaining
  Battery 0: design capacity 6100 mAh, last full capacity 6400 mAh = 100%
  Adapter 0: on-line
  Thermal 0: ok, 29.8 degrees C
  Thermal 0: trip point 0 switches to mode critical at temperature 106.0 degrees
  C
  Thermal 0: trip point 1 switches to mode passive at temperature 95.0 degrees C
  Thermal 1: active, 56.0 degrees C
  Thermal 1: trip point 0 switches to mode critical at temperature 106.0 degrees
  C
  Thermal 1: trip point 1 switches to mode active at temperature 87.0 degrees C
  Thermal 1: trip point 2 switches to mode active at temperature 55.0 degrees C
  Cooling 0: LCD 0 of 100
  Cooling 1: Processor 0 of 10
  Cooling 2: Processor 0 of 10
  Cooling 3: Processor 0 of 10
  Cooling 4: Processor 0 of 10
  Cooling 5: Fan 1 of 1
  Cooling 6: Fan 1 of 1
  Cooling 7: Fan 1 of 1
  Cooling 8: Fan 1 of 1

  
  If i use it, without it being connected, 

  tw@potatOS:~$ acpi -V
  Battery 0: Discharging, 96%, 04:23:30 remaining
  Battery 0: design capacity 6100 mAh, last full capacity 6400 mAh = 100%
  Adapter 0: off-line
  Thermal 0: ok, 29.8 degrees C
  Thermal 0: trip point 0 switches to mode critical at temperature 106.0 degrees
  C
  Thermal 0: trip point 1 switches to mode passive at temperature 95.0 degrees C
  Thermal 1: ok, 54.0 degrees C
  Thermal 1: trip point 0 switches to mode critical at temperature 106.0 degrees
  C
  Thermal 1: trip point 1 switches to mode active at temperature 87.0 degrees C
  Thermal 1: trip point 2 switches to mode active at temperature 55.0 degrees C
  Cooling 0: LCD 0 of 100
  Cooling 1: Processor 0 of 10
  Cooling 2: Processor 0 of 10
  Cooling 3: Processor 0 of 10
  Cooling 4: Processor 0 of 10
  Cooling 5: Fan 1 of 1
  Cooling 6: Fan 1 of 1
  Cooling 7: Fan 1 of 1
  Cooling 8: Fan 1 of 1
  Cooling 9: Fan 0 of 1

  I dont know how to check the version of the power manager, but if i try to
  install it, i get:

  tw@potatOS:~$ sudo apt-get install gnome-power-manager
  [sudo] password for tw: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  gnome-power-manager is already the newest version.

  
  Thanks in advance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1261196/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to