← Back to team overview

dx-packages team mailing list archive

[Bug 1261196] Re: Power statistics not refreshing

 

Hi Tomas, thanks for reporting this.

If 'acpi -v' isn't noticing that the battery is being charged, then the
problem isn't in the indicator's label -- indicator-power gets its
information from upower, so this can't be fixed at the indicator-power
level unless the indicator is showing you something different from what
you would see by running "upower --dump".

Moving up the food chain to upower in launchpad. :)

** Package changed: indicator-power (Ubuntu) => upower (Ubuntu)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-power 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