Hello , I have tried the latest mainline kernel v4.10-rc3 and the bug is
still there, the battery information is still displayed incorrectly.

** Description changed:

  I did a fresh install of ubuntu 16.04.1 on an asus x556uak laptop and
  noticed that when connected to AC and the battery is not charging the
  system shows the battery icon as discharging , but when the battery has
  discharged a little and when connected again it charges, then system
  shows the battery icon as connected to AC and charging.
  
  Also I've noticed that all though I have 2 38 Whr cells ubuntu is only
  detecting one 38 Whr cell, as if the second one doesn't exist? But maybe
  this is not a bug and it switches to secondary battery when the 1st one
  is empty?
  
  This is the output of `upower -d`
  
+     Device: /org/freedesktop/UPower/devices/line_power_AC0
+       native-path:          AC0
+       power supply:         yes
+       updated:              IST 19:06:36 2017 ינו 07 ש' (1564 seconds ago)
+       has history:          no
+       has statistics:       no
+       line-power
+         warning-level:       none
+         online:              no
+         icon-name:          'ac-adapter-symbolic'
  
-     Device: /org/freedesktop/UPower/devices/line_power_AC0
-       native-path:          AC0
-       power supply:         yes
-       updated:              IST 19:06:36 2017 ינו 07 ש' (1564 seconds ago)
-       has history:          no
-       has statistics:       no
-       line-power
-         warning-level:       none
-         online:              no
-         icon-name:          'ac-adapter-symbolic'
-     
-     Device: /org/freedesktop/UPower/devices/battery_BAT0
-       native-path:          BAT0
-       vendor:               ASUSTeK
-       model:                ASUS Battery
-       power supply:         yes
-       updated:              IST 19:32:37 2017 ינו 07 ש' (3 seconds ago)
-       has history:          yes
-       has statistics:       yes
-       battery
-         present:             yes
-         rechargeable:        yes
-         state:               discharging
-         warning-level:       none
-         energy:              27.154 Wh
-         energy-empty:        0 Wh
-         energy-full:         37.886 Wh
-         energy-full-design:  38 Wh
-         energy-rate:         8.648 W
-         voltage:             7.6 V
-         time to empty:       3.1 hours
-         percentage:          72%
-         capacity:            99.7%
-         technology:          lithium-ion
-         icon-name:          'battery-full-symbolic'
-       History (rate):
-         1483810357    8.648   discharging
-     
-     Device: /org/freedesktop/UPower/devices/DisplayDevice
-       power supply:         yes
-       updated:              IST 19:32:37 2017 ינו 07 ש' (3 seconds ago)
-       has history:          no
-       has statistics:       no
-       battery
-         present:             yes
-         state:               discharging
-         warning-level:       none
-         energy:              27.154 Wh
-         energy-full:         37.886 Wh
-         energy-rate:         8.648 W
-         time to empty:       3.1 hours
-         percentage:          72%
-         icon-name:          'battery-full-symbolic'
-     
-     Daemon:
-       daemon-version:  0.99.4
-       on-battery:      yes
-       lid-is-closed:   no
-       lid-is-present:  yes
-       critical-action: HybridSleep
+     Device: /org/freedesktop/UPower/devices/battery_BAT0
+       native-path:          BAT0
+       vendor:               ASUSTeK
+       model:                ASUS Battery
+       power supply:         yes
+       updated:              IST 19:32:37 2017 ינו 07 ש' (3 seconds ago)
+       has history:          yes
+       has statistics:       yes
+       battery
+         present:             yes
+         rechargeable:        yes
+         state:               discharging
+         warning-level:       none
+         energy:              27.154 Wh
+         energy-empty:        0 Wh
+         energy-full:         37.886 Wh
+         energy-full-design:  38 Wh
+         energy-rate:         8.648 W
+         voltage:             7.6 V
+         time to empty:       3.1 hours
+         percentage:          72%
+         capacity:            99.7%
+         technology:          lithium-ion
+         icon-name:          'battery-full-symbolic'
+       History (rate):
+         1483810357    8.648   discharging
  
+     Device: /org/freedesktop/UPower/devices/DisplayDevice
+       power supply:         yes
+       updated:              IST 19:32:37 2017 ינו 07 ש' (3 seconds ago)
+       has history:          no
+       has statistics:       no
+       battery
+         present:             yes
+         state:               discharging
+         warning-level:       none
+         energy:              27.154 Wh
+         energy-full:         37.886 Wh
+         energy-rate:         8.648 W
+         time to empty:       3.1 hours
+         percentage:          72%
+         icon-name:          'battery-full-symbolic'
  
- This is the output of `upower -d` when the battery is allready charged and 
the laptop is plugged to AC:
+     Daemon:
+       daemon-version:  0.99.4
+       on-battery:      yes
+       lid-is-closed:   no
+       lid-is-present:  yes
+       critical-action: HybridSleep
  
-     Device: /org/freedesktop/UPower/devices/line_power_AC0
-       native-path:          AC0
-       power supply:         yes
-       updated:              IST 20:44:01 2017 ינו 07 ש' (21 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:              IST 20:44:01 2017 ינו 07 ש' (21 seconds ago)
-       has history:          yes
-       has statistics:       yes
-       battery
-         present:             yes
-         rechargeable:        yes
-         state:               discharging
-         warning-level:       none
-         energy:              37.825 Wh
-         energy-empty:        0 Wh
-         energy-full:         37.886 Wh
-         energy-full-design:  38 Wh
-         energy-rate:         3.564 W
-         voltage:             7.6 V
-         time to empty:       10.6 hours
-         percentage:          100%
-         capacity:            99.7%
-         technology:          lithium-ion
-         icon-name:          'battery-full-symbolic'
-       History (charge):
-         1483814641    100.000 discharging
-       History (rate):
-         1483814641    3.564   discharging
-         1483814641    2.348   discharging
-     
-     Device: /org/freedesktop/UPower/devices/DisplayDevice
-       power supply:         yes
-       updated:              IST 20:44:01 2017 ינו 07 ש' (21 seconds ago)
-       has history:          no
-       has statistics:       no
-       battery
-         present:             yes
-         state:               discharging
-         warning-level:       none
-         energy:              37.825 Wh
-         energy-full:         37.886 Wh
-         energy-rate:         3.564 W
-         time to empty:       10.6 hours
-         percentage:          100%
-         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
+ This is the output of `upower -d` when the battery is allready charged
+ and the laptop is plugged to AC:
+ 
+     Device: /org/freedesktop/UPower/devices/line_power_AC0
+       native-path:          AC0
+       power supply:         yes
+       updated:              IST 20:44:01 2017 ינו 07 ש' (21 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:              IST 20:44:01 2017 ינו 07 ש' (21 seconds ago)
+       has history:          yes
+       has statistics:       yes
+       battery
+         present:             yes
+         rechargeable:        yes
+         state:               discharging
+         warning-level:       none
+         energy:              37.825 Wh
+         energy-empty:        0 Wh
+         energy-full:         37.886 Wh
+         energy-full-design:  38 Wh
+         energy-rate:         3.564 W
+         voltage:             7.6 V
+         time to empty:       10.6 hours
+         percentage:          100%
+         capacity:            99.7%
+         technology:          lithium-ion
+         icon-name:          'battery-full-symbolic'
+       History (charge):
+         1483814641    100.000 discharging
+       History (rate):
+         1483814641    3.564   discharging
+         1483814641    2.348   discharging
+ 
+     Device: /org/freedesktop/UPower/devices/DisplayDevice
+       power supply:         yes
+       updated:              IST 20:44:01 2017 ינו 07 ש' (21 seconds ago)
+       has history:          no
+       has statistics:       no
+       battery
+         present:             yes
+         state:               discharging
+         warning-level:       none
+         energy:              37.825 Wh
+         energy-full:         37.886 Wh
+         energy-rate:         3.564 W
+         time to empty:       10.6 hours
+         percentage:          100%
+         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
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-57-generic 4.4.0-57.78
  ProcVersionSignature: Ubuntu 4.4.0-57.78-generic 4.4.35
  Uname: Linux 4.4.0-57-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.4
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/pcmC0D0p:   david      2937 F...m pulseaudio
-  /dev/snd/controlC0:  david      2937 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/pcmC0D0p:   david      2937 F...m pulseaudio
+  /dev/snd/controlC0:  david      2937 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Sat Jan  7 20:49:15 2017
  HibernationDevice: RESUME=UUID=53d59b56-5824-4ede-8752-62ef2e227c18
  InstallationDate: Installed on 2016-12-22 (16 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  MachineType: ASUSTeK COMPUTER INC. X556UAK
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-57-generic.efi.signed 
root=UUID=5eed2705-b031-466b-8c03-d40f6ccfc133 ro quiet splash
  RelatedPackageVersions:
-  linux-restricted-modules-4.4.0-57-generic N/A
-  linux-backports-modules-4.4.0-57-generic  N/A
-  linux-firmware                            1.157.6
+  linux-restricted-modules-4.4.0-57-generic N/A
+  linux-backports-modules-4.4.0-57-generic  N/A
+  linux-firmware                            1.157.6
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/05/2016
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: X556UAK.302
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: X556UAK
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrX556UAK.302:bd09/05/2016:svnASUSTeKCOMPUTERINC.:pnX556UAK:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX556UAK:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: X556UAK
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1654774

Title:
  battery informatin displayed incorrectly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1654774/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to