3

You can see that on the picture it says updated and then 99 secondsUbuntu battery icon uses about 1-2 minutes before recognizing charger being plugged in or out. How to make the battery status update more often so that it recognizes the charger immediately.

The problem was not present in Ubuntu 14.10. The problem started with 15.04, and was present in 15.10. I am now on 16.04

I am using a MacBookAir early 2014 model.

You can see that on the picture it says updated and then 99 seconds And upower -i /org/freedesktop/UPower/devices/battery_BAT0 gives me this when I have unplugged the charger:

  native-path:          BAT0
  vendor:               SMP
  model:                bq20z451
  power supply:         yes
  updated:              fr. 01. jan. 2016 kl. 21.29 +0100 (1 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              19,2888 Wh
    energy-empty:        0 Wh
    energy-full:         48,1992 Wh
    energy-full-design:  54,34 Wh
    energy-rate:         7,3112 W
    voltage:             7,868 V
    time to full:        4,0 hours
    percentage:          36%
    temperature:         32,8 degrees C
    capacity:            88,6993%
    technology:          lithium-ion
    icon-name:          'battery-good-charging-symbolic'
  History (charge):
    1451680147  36,000  charging
  History (rate):
    1451680164  7,311   charging
    1451680147  24,183  charging
Zanna
  • 72,312

1 Answers1

0

An effective workaround was to add acpi_osi= as a kernel parameter

This is done by editing the configuration file for GRUB, for example, run

sudo nano /etc/default/grub

Find the line beginning GRUB_CMDLINE_LINUX_DEFAULT and add the new parameter to those already there, so when you are done, it looks, for example, like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="

Save the file and exit, then to make the change effective, run

sudo update-grub
Zanna
  • 72,312