5

Ubuntu battery icon uses about 1-2 minutes before recognizing that the charger is plugged in or not. How to make the battery status update more often so that it recognizes the charger's state immediately.

This problem was not present in Ubuntu 14.10. It appeared in 15.04, and was also present in 15.10. Currently, I am using 16.04 on an early 2014 MacBook Air model.

it says updated and then 99 seconds

You can see that in the picture it says updated and then 99 seconds.

With charger unplugged, upower -i /org/freedesktop/UPower/devices/battery_BAT0 gives me the following output:

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
14
  • Could you please give the output of this: 'sudo dmidecode -s system-product-name'
    – Max Kulik
    Dec 29, 2015 at 0:09
  • MacBookAir6,2 Invalid entry length (0). DMI table is broken! Stop. Dec 29, 2015 at 0:11
  • Okay, now this: acpi -V | grep Battery
    – Max Kulik
    Dec 29, 2015 at 0:19
  • And also: upower -d
    – Max Kulik
    Dec 29, 2015 at 0:19
  • Battery 0: Discharging, 82%, 06:39:27 remaining Battery 0: design capacity 7150 mAh, last full capacity 6249 mAh = 87% Adapter 0: off-line Cooling 0: x86_pkg_temp no state information available Cooling 1: BAT0 no state information available Cooling 2: intel_powerclamp no state information available Cooling 3: LCD 80 of 100 Dec 29, 2015 at 0:26

3 Answers 3

2
+25

After working with you in chat it was determined that the plugin was correctly installed and it was working as it should. The minor issue is that the Battery Indicator icon can take anywhere between 2 - 5 minutes to update.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Under older versions of Gnome you were able to follow the steps below to change some of the power-manager settings. However that has been dropped in version 3.1.4. (Further info can be found here.)

I suggest you try using the "dconf editor". BE VERY CAREFUL while using it!

sudo apt-get install -y dconf-editor

After installing "dconf-editor" have a look at the section "org" -> "gnome" -> "power-manager" -> "icon-policy"... this also changes the behavior of the battery-icon.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To solve the problem, it is suggested that you use the Unity interface under your system settings to change anything that need be.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The addition of indicator-power in Ubuntu overrides the need of power-manager

0

You could try this:

plymouth reactivated lsb
plymouth reactivated updates lsb
sudo -i
plymouthd
plymouth-upstart-bridge

and it might work fine this way.

4
  • Geting errors while trying to run theese commands Dec 30, 2015 at 19:45
  • But to long to post Dec 30, 2015 at 19:45
  • unable to connect to system bus: Failed to connect to socket /com/ubuntu/upstart: Connection refused Dec 30, 2015 at 19:49
  • Trying to rebuild kernel with some configurations, will report if it worked Dec 30, 2015 at 20:52
0

Adding acpi_osi= as a kernel parameter fixed the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .