battery charging not showing if plugged in during boot

Bug #1726802 reported by Aniruddha Sarkar
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-power (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

When I power up my device without plugging in, the indicator shows charging, but whenever I am powering up my laptop after plugging in the battery indicator is not showing charging.

I am using ASUS R558U.

Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :
Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :

Additional file for dmesg

Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :

Additional boot log

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What Ubuntu version and desktop environment are you using? What's the output "upower --dump" when getting the issue?

Changed in indicator-power (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :

ani@ani-X556UQK:~$ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC0
  native-path: AC0
  power supply: yes
  updated: Thursday 26 October 2017 10:50:53 PM IST (74 seconds ago)
  has history: no
  has statistics: no
  line-power
    warning-level: none
    online: yes
    icon-name: 'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  vendor: ASUSTeK
  model: ASUS Battery
  power supply: yes
  updated: Thursday 26 October 2017 10:50:54 PM IST (73 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: none
    energy: 33.44 Wh
    energy-empty: 0 Wh
    energy-full: 33.827 Wh
    energy-full-design: 38 Wh
    energy-rate: 14.113 W
    voltage: 7.6 V
    time to empty: 2.4 hours
    percentage: 98%
    capacity: 89.0184%
    technology: lithium-ion
    icon-name: 'battery-full-symbolic'
  History (charge):
    1509038453 98.000 discharging
    1509038449 100.000 discharging
  History (rate):
    1509038453 14.113 discharging
    1509038449 3.382 discharging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: Thursday 26 October 2017 10:50:53 PM IST (74 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: discharging
    warning-level: none
    energy: 33.44 Wh
    energy-full: 33.827 Wh
    energy-rate: 14.113 W
    time to empty: 2.4 hours
    percentage: 98%
    icon-name: 'battery-full-symbolic'

Daemon:
  daemon-version: 0.99.4
  on-battery: no
  lid-is-closed: no
  lid-is-present: yes
  critical-action: HybridSleep

Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :

After #5 I plugged out and plugged in after some time.

Then the dump says:
upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC0
  native-path: AC0
  power supply: yes
  updated: Thursday 26 October 2017 10:57:25 PM IST (11 seconds ago)
  has history: no
  has statistics: no
  line-power
    warning-level: none
    online: yes
    icon-name: 'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  vendor: ASUSTeK
  model: ASUS Battery
  power supply: yes
  updated: Thursday 26 October 2017 10:57:25 PM IST (11 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: none
    energy: 32.566 Wh
    energy-empty: 0 Wh
    energy-full: 33.827 Wh
    energy-full-design: 38 Wh
    energy-rate: 13.094 W
    voltage: 7.6 V
    time to empty: 2.5 hours
    percentage: 96%
    capacity: 89.0184%
    technology: lithium-ion
    icon-name: 'battery-full-symbolic'
  History (charge):
    1509038845 96.000 discharging
  History (rate):
    1509038845 13.094 discharging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: Thursday 26 October 2017 10:57:25 PM IST (11 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: discharging
    warning-level: none
    energy: 32.566 Wh
    energy-full: 33.827 Wh
    energy-rate: 13.094 W
    time to empty: 2.5 hours
    percentage: 96%
    icon-name: 'battery-full-symbolic'

Daemon:
  daemon-version: 0.99.4
  on-battery: no
  lid-is-closed: no
  lid-is-present: yes
  critical-action: HybridSleep

Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :

To be specific when my battery is 90-100% (that is when the power led turns white from red) and plugged in during boot this condition arises. Even after unplugging and then plugging the problem resides. The problem persists only in ubuntu, not in windows. So it is not a hardware fault.

Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :

Checking dmesg last four plugged in status says:

[ 120.871614] asus_wmi: Unknown key cf pressed
[ 512.645676] asus_wmi: Unknown key cf pressed
[ 647.878154] asus_wmi: Unknown key cf pressed
[ 1070.475563] asus_wmi: Unknown key cf pressed

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for indicator-power (Ubuntu) because there has been no activity for 60 days.]

Changed in indicator-power (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Aniruddha Sarkar (sarkar4540) wrote :

That problem has been resolved and was occuring due to battery optimisation techniques and is not a bug (i guess).

Changed in indicator-power (Ubuntu):
status: Expired → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.