← Back to team overview

desktop-packages team mailing list archive

[Bug 1537712] [NEW] upower reports energy = 0 on phone

 

Public bug reported:

current build number: 228
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en

(same on krillin)

phablet@ubuntu-phablet:~$ upower -i /org/freedesktop/UPower/devices/battery_battery
  native-path:          battery
  vendor:               SONY
  power supply:         yes
  updated:              lun. 25 janv. 2016 11:55:09 CET (259 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    voltage:             3,756 V
    percentage:          38%
    temperature:         25 degrees C
    capacity:            100%
    technology:          lithium-ion
    icon-name:          'battery-good-symbolic'

Note that arale (and krillin) doesn't have any of the energy_*
attributes in sysfs nor the charge_* attributes.

/sys/class/power_supply/battery/temp
/sys/class/power_supply/battery/type
/sys/class/power_supply/battery/present_2nd
/sys/class/power_supply/battery/InstatVolt
/sys/class/power_supply/battery/adjust_power
/sys/class/power_supply/battery/TemperatureR
/sys/class/power_supply/battery/batt_temp
/sys/class/power_supply/battery/current_now
/sys/class/power_supply/battery/capacity_2nd
/sys/class/power_supply/battery/capacity
/sys/class/power_supply/battery/voltage_max_design
/sys/class/power_supply/battery/health
/sys/class/power_supply/battery/BatterySenseVoltage
/sys/class/power_supply/battery/TempBattVoltage
/sys/class/power_supply/battery/status
/sys/class/power_supply/battery/voltage_now
/sys/class/power_supply/battery/uevent
/sys/class/power_supply/battery/manufacturer
/sys/class/power_supply/battery/technology
/sys/class/power_supply/battery/status_2nd
/sys/class/power_supply/battery/ChargerVoltage
/sys/class/power_supply/battery/BatteryAverageCurrent
/sys/class/power_supply/battery/batt_vol
/sys/class/power_supply/battery/ISenseVoltage
/sys/class/power_supply/battery/present

** Affects: canonical-devices-system-image
     Importance: Undecided
         Status: New

** Affects: upower (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: upower (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/1537712

Title:
  upower reports energy = 0 on phone

Status in Canonical System Image:
  New
Status in upower package in Ubuntu:
  New

Bug description:
  current build number: 228
  device name: arale
  channel: ubuntu-touch/rc-proposed/meizu.en

  (same on krillin)

  phablet@ubuntu-phablet:~$ upower -i /org/freedesktop/UPower/devices/battery_battery
    native-path:          battery
    vendor:               SONY
    power supply:         yes
    updated:              lun. 25 janv. 2016 11:55:09 CET (259 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               discharging
      warning-level:       none
      energy:              0 Wh
      energy-empty:        0 Wh
      energy-full:         0 Wh
      energy-full-design:  0 Wh
      energy-rate:         0 W
      voltage:             3,756 V
      percentage:          38%
      temperature:         25 degrees C
      capacity:            100%
      technology:          lithium-ion
      icon-name:          'battery-good-symbolic'

  Note that arale (and krillin) doesn't have any of the energy_*
  attributes in sysfs nor the charge_* attributes.

  /sys/class/power_supply/battery/temp
  /sys/class/power_supply/battery/type
  /sys/class/power_supply/battery/present_2nd
  /sys/class/power_supply/battery/InstatVolt
  /sys/class/power_supply/battery/adjust_power
  /sys/class/power_supply/battery/TemperatureR
  /sys/class/power_supply/battery/batt_temp
  /sys/class/power_supply/battery/current_now
  /sys/class/power_supply/battery/capacity_2nd
  /sys/class/power_supply/battery/capacity
  /sys/class/power_supply/battery/voltage_max_design
  /sys/class/power_supply/battery/health
  /sys/class/power_supply/battery/BatterySenseVoltage
  /sys/class/power_supply/battery/TempBattVoltage
  /sys/class/power_supply/battery/status
  /sys/class/power_supply/battery/voltage_now
  /sys/class/power_supply/battery/uevent
  /sys/class/power_supply/battery/manufacturer
  /sys/class/power_supply/battery/technology
  /sys/class/power_supply/battery/status_2nd
  /sys/class/power_supply/battery/ChargerVoltage
  /sys/class/power_supply/battery/BatteryAverageCurrent
  /sys/class/power_supply/battery/batt_vol
  /sys/class/power_supply/battery/ISenseVoltage
  /sys/class/power_supply/battery/present

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1537712/+subscriptions


Follow ups