Ubuntu – Battery only charging when shutting down by holding the power button or in suspended mode


I have an ASUS-UX305F zenbook. Everything was working fine with Windows 10 until I recently installed KDE 16.10 (I removed Windows 10, so it is not a dual boot) and now I can't properly charge my laptop:

mat@matlaptop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:    16.10
Codename:   yakkety

The only way I can charge it is:

  • by holding the power button until my laptop shutdowns (a regular
    shutdown doesn't help)
  • when the laptop is in suspended mode (e.g. by running systemctl suspend)

If my laptop is active and I plug the charger in the led that indicates if the battery is charging starts to blink a few times than it turns off. This is what the power command returns (while the charger is plugged):

mat@matlaptop:~$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               ASUSTeK
  model:                ASUS Battery
  power supply:         yes
  updated:              Son 12 Mär 2017 21:03:17 CET (0 seconds ago)
  has history:          yes
  has statistics:       yes
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              6,463 Wh
    energy-empty:        0 Wh
    energy-full:         38,771 Wh
    energy-full-design:  45,03 Wh
    energy-rate:         6,669 W
    voltage:             11,4 V
    time to empty:       58,1 minutes
    percentage:          16%
    capacity:            86,1004%
    technology:          lithium-ion
    icon-name:          'battery-low-symbolic'
  History (charge):
    1489348992  16,000  discharging
  History (rate):
    1489348997  6,669   discharging
    1489348993  6,270   discharging
    1489348992  6,555   discharging
    1489348928  8,458   discharging

Is there any way to fix this?


The baterry also charges when the laptop is in suspend mode (systemctl suspend)!

As requested by @ElderGeek, here is the output from the grep ACPI /var/log/syslog command.

Best Answer

The charger was broken. I just bought a new one and everything works fine now. Thank you.

Related Question