ASUS UX305LA - Battery state not detected correctly

Bug #1482390 reported by Sebastian Nohn on 2015-08-06
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

Whether the AC adapter is connected or not, the battery is always detected as discharging:

When AC adapter is present:

$ sudo acpitool -a -b
  Battery #1 : Discharging, 100.0%
  AC adapter : online

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 54027 mWh, 100.0%
    Design capacity : 56041 mWh
    Last full capacity : 53507 mWh, 95.48% of design capacity
    Capacity loss : 4.522%
    Present rate : 0 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

When AC adapter is not present:

$ sudo acpitool -a -b
  Battery #1 : Discharging, 100.0%, 04:19:49
  AC adapter : off-line

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 54005 mWh, 100.0%, 04:28:31
    Design capacity : 56041 mWh
    Last full capacity : 53507 mWh, 95.48% of design capacity
    Capacity loss : 4.522%
    Present rate : 12067 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

System information:

$ sudo dmidecode
# dmidecode 2.12
# SMBIOS entry point at 0xace2a898
SMBIOS 2.8 present.
27 structures occupying 2154 bytes.
Table at 0xAC7C6000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
 Vendor: American Megatrends Inc.
 Version: UX305LA.202
 Release Date: 04/16/2015
 Address: 0xF0000
 Runtime Size: 64 kB
 ROM Size: 6464 kB
 Characteristics:
  PCI is supported
  BIOS is upgradeable
  BIOS shadowing is allowed
  Boot from CD is supported
  Selectable boot is supported
  BIOS ROM is socketed
  EDD is supported
  5.25"/1.2 MB floppy services are supported (int 13h)
  3.5"/720 kB floppy services are supported (int 13h)
  3.5"/2.88 MB floppy services are supported (int 13h)
  Print screen service is supported (int 5h)
  8042 keyboard services are supported (int 9h)
  Serial services are supported (int 14h)
  Printer services are supported (int 17h)
  ACPI is supported
  USB legacy is supported
  Smart battery is supported
  BIOS boot specification is supported
  Targeted content distribution is supported
  UEFI is supported
 BIOS Revision: 5.6

Handle 0x0001, DMI type 1, 27 bytes
System Information
 Manufacturer: ASUSTeK COMPUTER INC.
 Product Name: UX305LA
 Version: 1.0
 Serial Number: xxx
 UUID: xxx
 Wake-up Type: Power Switch
 SKU Number: ASUS-NotebookSKU
 Family: UX

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
 Manufacturer: ASUSTeK COMPUTER INC.
 Product Name: UX305LA
 Version: 1.0
 Serial Number: xxx
 Asset Tag: xxx
 Features:
  Board is a hosting board
  Board is replaceable
 Location In Chassis: MIDDLE
 Chassis Handle: 0x0003
 Type: Motherboard
 Contained Object Handles: 0

Handle 0x0003, DMI type 3, 25 bytes
Chassis Information
 Manufacturer: ASUSTeK COMPUTER INC.
 Type: Notebook
 Lock: Not Present
 Version: 1.0
 Serial Number: xxx
 Asset Tag: xxx
 Boot-up State: Safe
 Power Supply State: Safe
 Thermal State: Safe
 Security Status: None
 OEM Information: 0x00000000
 Height: Unspecified
 Number Of Power Cords: 1
 Contained Elements: 1
  <OUT OF SPEC> (0)
 SKU Number: To be filled by O.E.M.

Handle 0x0004, DMI type 10, 26 bytes
On Board Device 1 Information
 Type: Video
 Status: Enabled
 Description: VGA
On Board Device 2 Information
 Type: Ethernet
 Status: Enabled
 Description: GLAN
On Board Device 3 Information
 Type: Ethernet
 Status: Enabled
 Description: WLAN
On Board Device 4 Information
 Type: Sound
 Status: Enabled
 Description: Audio CODEC
On Board Device 5 Information
 Type: SATA Controller
 Status: Enabled
 Description: SATA Controller
On Board Device 6 Information
 Type: Other
 Status: Enabled
 Description: USB 2.0 Controller
On Board Device 7 Information
 Type: Other
 Status: Enabled
 Description: USB 3.0 Controller
On Board Device 8 Information
 Type: Other
 Status: Enabled
 Description: SMBus Controller
On Board Device 9 Information
 Type: Other
 Status: Enabled
 Description: Card Reader
On Board Device 10 Information
 Type: Other
 Status: Enabled
 Description: Cmos Camera
On Board Device 11 Information
 Type: Other
 Status: Enabled
 Description: Bluetooth

Handle 0x0005, DMI type 11, 5 bytes
OEM Strings
 String 1:
 String 2:
 String 3:
 String 4: 90NB08T5-M00230
 String 5:
 String 6:
 String 7:
 String 8:
 String 9:
 String 10:

Handle 0x000C, DMI type 32, 20 bytes
System Boot Information
 Status: No errors detected

Handle 0x000D, DMI type 7, 19 bytes
Cache Information
 Socket Designation: L1 Cache
 Configuration: Enabled, Not Socketed, Level 1
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 32 kB
 Maximum Size: 32 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Parity
 System Type: Data
 Associativity: 8-way Set-associative

Handle 0x000E, DMI type 7, 19 bytes
Cache Information
 Socket Designation: L1 Cache
 Configuration: Enabled, Not Socketed, Level 1
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 32 kB
 Maximum Size: 32 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Parity
 System Type: Instruction
 Associativity: 8-way Set-associative

Handle 0x000F, DMI type 7, 19 bytes
Cache Information
 Socket Designation: L2 Cache
 Configuration: Enabled, Not Socketed, Level 2
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 256 kB
 Maximum Size: 256 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Single-bit ECC
 System Type: Unified
 Associativity: 8-way Set-associative

Handle 0x0010, DMI type 7, 19 bytes
Cache Information
 Socket Designation: L3 Cache
 Configuration: Enabled, Not Socketed, Level 3
 Operational Mode: Write Back
 Location: Internal
 Installed Size: 4096 kB
 Maximum Size: 4096 kB
 Supported SRAM Types:
  Synchronous
 Installed SRAM Type: Synchronous
 Speed: Unknown
 Error Correction Type: Multi-bit ECC
 System Type: Unified
 Associativity: 16-way Set-associative

Handle 0x0011, DMI type 4, 42 bytes
Processor Information
 Socket Designation: SOCKET 0
 Type: Central Processor
 Family: Core i7
 Manufacturer: Intel(R) Corporation
 ID: D4 06 03 00 FF FB EB BF
 Signature: Type 0, Family 6, Model 61, Stepping 4
 Flags:
  FPU (Floating-point unit on-chip)
  VME (Virtual mode extension)
  DE (Debugging extension)
  PSE (Page size extension)
  TSC (Time stamp counter)
  MSR (Model specific registers)
  PAE (Physical address extension)
  MCE (Machine check exception)
  CX8 (CMPXCHG8 instruction supported)
  APIC (On-chip APIC hardware supported)
  SEP (Fast system call)
  MTRR (Memory type range registers)
  PGE (Page global enable)
  MCA (Machine check architecture)
  CMOV (Conditional move instruction supported)
  PAT (Page attribute table)
  PSE-36 (36-bit page size extension)
  CLFSH (CLFLUSH instruction supported)
  DS (Debug store)
  ACPI (ACPI supported)
  MMX (MMX technology supported)
  FXSR (FXSAVE and FXSTOR instructions supported)
  SSE (Streaming SIMD extensions)
  SSE2 (Streaming SIMD extensions 2)
  SS (Self-snoop)
  HTT (Multi-threading)
  TM (Thermal monitor supported)
  PBE (Pending break enabled)
 Version: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
 Voltage: 0.9 V
 External Clock: 100 MHz
 Max Speed: 2400 MHz
 Current Speed: 2400 MHz
 Status: Populated, Enabled
 Upgrade: <OUT OF SPEC>
 L1 Cache Handle: 0x000E
 L2 Cache Handle: 0x000F
 L3 Cache Handle: 0x0010
 Serial Number: NULL
 Asset Tag: To Be Filled By O.E.M
 Part Number: To Be Filled By O.E.M
 Core Count: 2
 Core Enabled: 2
 Thread Count: 4
 Characteristics:
  64-bit capable
  Multi-Core
  Hardware Thread
  Execute Protection
  Enhanced Virtualization
  Power/Performance Control

Handle 0x0012, DMI type 221, 12 bytes
OEM-specific Type
 Header and Data:
  DD 0C 12 00 01 01 00 02 06 00 00 00
 Strings:
  Reference Code - ACPI

Handle 0x0013, DMI type 16, 23 bytes
Physical Memory Array
 Location: System Board Or Motherboard
 Use: System Memory
 Error Correction Type: None
 Maximum Capacity: 16 GB
 Error Information Handle: Not Provided
 Number Of Devices: 2

Handle 0x0014, DMI type 17, 34 bytes
Memory Device
 Array Handle: 0x0013
 Error Information Handle: Not Provided
 Total Width: 64 bits
 Data Width: 64 bits
 Size: 4096 MB
 Form Factor: SODIMM
 Set: None
 Locator: ChannelA-DIMM0
 Bank Locator: BANK 0
 Type: <OUT OF SPEC>
 Type Detail: Synchronous
 Speed: 1600 MHz
 Manufacturer: 0000
 Serial Number: 00000000
 Asset Tag: 9876543210
 Part Number:
 Rank: 2
 Configured Clock Speed: 1600 MHz

Handle 0x0015, DMI type 17, 34 bytes
Memory Device
 Array Handle: 0x0013
 Error Information Handle: Not Provided
 Total Width: 64 bits
 Data Width: 64 bits
 Size: 4096 MB
 Form Factor: SODIMM
 Set: None
 Locator: ChannelB-DIMM0
 Bank Locator: BANK 2
 Type: <OUT OF SPEC>
 Type Detail: Synchronous
 Speed: 1600 MHz
 Manufacturer: 0000
 Serial Number: 00000000
 Asset Tag: 9876543210
 Part Number:
 Rank: 2
 Configured Clock Speed: 1600 MHz

Handle 0x0016, DMI type 19, 31 bytes
Memory Array Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x001FFFFFFFF
 Range Size: 8 GB
 Physical Array Handle: 0x0013
 Partition Width: 2

Handle 0x0017, DMI type 20, 35 bytes
Memory Device Mapped Address
 Starting Address: 0x00000000000
 Ending Address: 0x000FFFFFFFF
 Range Size: 4 GB
 Physical Device Handle: 0x0015
 Memory Array Mapped Address Handle: 0x0016
 Partition Row Position: Unknown
 Interleave Position: 1
 Interleaved Data Depth: 1

Handle 0x0018, DMI type 20, 35 bytes
Memory Device Mapped Address
 Starting Address: 0x00100000000
 Ending Address: 0x001FFFFFFFF
 Range Size: 4 GB
 Physical Device Handle: 0x0015
 Memory Array Mapped Address Handle: 0x0016
 Partition Row Position: Unknown
 Interleave Position: 2
 Interleaved Data Depth: 1

Handle 0x0019, DMI type 221, 54 bytes
OEM-specific Type
 Header and Data:
  DD 36 19 00 07 01 00 02 06 00 00 00 02 00 02 06
  00 00 00 03 00 02 06 00 00 00 04 05 FF FF FF FF
  FF 06 00 FF FF FF 09 00 07 00 FF FF FF 09 00 08
  00 FF FF FF FF FF
 Strings:
  Reference Code - SA - System Agent
  Reference Code - MRC
  SA - PCIe Version
  SA-CRID Status
  Disabled
  SA-CRID Original Value
  SA-CRID New Value
  OPROM - VBIOS

Handle 0x001A, DMI type 221, 26 bytes
OEM-specific Type
 Header and Data:
  DD 1A 1A 00 03 01 00 02 06 00 00 00 02 00 FF FF
  FF FF 00 03 04 0A 00 26 E8 03
 Strings:
  Reference Code - ME 10.0
  MEBx version
  ME Firmware Version
  1.5MB SKU

Handle 0x001B, DMI type 221, 68 bytes
OEM-specific Type
 Header and Data:
  DD 44 1B 00 09 01 00 02 06 00 00 00 02 03 FF FF
  FF FF FF 04 00 FF FF FF 03 00 05 00 FF FF FF 03
  00 06 00 FF FF FF FF FF 07 00 19 00 00 00 00 08
  00 2C 00 00 00 00 09 00 03 00 00 00 00 0A 00 01
  00 00 00 00
 Strings:
  Reference Code - PCH - Lynxpoint
  PCH-CRID Status
  Disabled
  PCH-CRID Original Value
  PCH-CRID New Value
  OPROM - RST - RAID
  LPTLp Bx Hsio Version
  LPTH Cx Hsio Version
  PCH9S A0 Hsio Version
  WPTLp B0 Hsio Version

Handle 0x001C, DMI type 221, 26 bytes
OEM-specific Type
 Header and Data:
  DD 1A 1C 00 03 01 00 02 06 00 00 00 02 00 00 00
  00 1D 00 03 00 00 05 00 00 00
 Strings:
  Reference Code - CPU
  uCode Version
  TXT ACM version

Handle 0x001D, DMI type 13, 22 bytes
BIOS Language Information
 Language Description Format: Long
 Installable Languages: 1
  en|US|iso8859-1
 Currently Installed Language: en|US|iso8859-1

Handle 0x001E, DMI type 131, 64 bytes
OEM-specific Type
 Header and Data:
  83 40 1E 00 31 00 00 00 00 00 00 00 00 00 00 00
  F8 00 C3 9C 00 00 00 00 01 40 00 00 00 00 0A 00
  E8 03 26 00 00 00 00 00 C8 00 FF FF 00 00 00 00
  00 00 00 00 26 00 00 00 76 50 72 6F 00 00 00 00

Handle 0x001F, DMI type 14, 20 bytes
Group Associations
 Name: Firmware Version Info
 Items: 5
  0x0012 (<OUT OF SPEC>)
  0x0019 (<OUT OF SPEC>)
  0x001A (<OUT OF SPEC>)
  0x001B (<OUT OF SPEC>)
  0x001C (<OUT OF SPEC>)

Handle 0x0020, DMI type 127, 4 bytes
End Of Table
---
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: sebastian 2436 F.... pulseaudio
 /dev/snd/pcmC1D0p: sebastian 2436 F...m pulseaudio
 /dev/snd/controlC1: sebastian 2436 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=bdba64aa-c323-4ba7-a32d-bc49a2716cc7
InstallationDate: Installed on 2015-08-06 (0 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 064e:9700 Suyin Corp.
 Bus 001 Device 003: ID 8087:0a2a Intel Corp.
 Bus 001 Device 006: ID 046d:c077 Logitech, Inc.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. UX305LA
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-45-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.16.0-45.60~14.04.1-generic 3.16.7-ckt14
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-45-generic N/A
 linux-backports-modules-3.16.0-45-generic N/A
 linux-firmware 1.127.14
Tags: trusty
Uname: Linux 3.16.0-45-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 04/16/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX305LA.202
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX305LA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX305LA.202:bd04/16/2015:svnASUSTeKCOMPUTERINC.:pnUX305LA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX305LA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: UX305LA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

description: updated

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1482390

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected trusty
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in linux (Ubuntu):
status: Incomplete → New

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.2 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-rc5-unstable/

Changed in linux (Ubuntu):
importance: Undecided → Medium

It is a new laptop with a fresh install, so I never had the chance to test it with an older kernel version.

I did as you suggested test with the lastest 4.2 upstream kernel, unfortunately without success:

AC connected:

sebastian@bnasws02[0r/0s]:~
$ acpitool -a -B
  Battery #1 : present
    Remaining capacity : 52998 mWh, 98.80%
    Design capacity : 56041 mWh
    Last full capacity : 53643 mWh, 95.72% of design capacity
    Capacity loss : 4.279%
    Present rate : 0 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS
  AC adapter : online
sebastian@bnasws02[0r/0s]:~

AC disconnected:

$ acpitool -a -B
  Battery #1 : present
    Remaining capacity : 52998 mWh, 98.80%, 07:01:34
    Design capacity : 56041 mWh
    Last full capacity : 53643 mWh, 95.72% of design capacity
    Capacity loss : 4.279%
    Present rate : 7543 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS
  AC adapter : off-line
sebastian@bnasws02[0r/0s]:~

AC connected:

$ acpitool -a -B
  Battery #1 : present
    Remaining capacity : 52998 mWh, 98.80%, 13:32:38
    Design capacity : 56041 mWh
    Last full capacity : 53643 mWh, 95.72% of design capacity
    Capacity loss : 4.279%
    Present rate : 3913 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS
  AC adapter : online

tags: added: kernel-bug-exists-upst
tags: removed: kernel-bug-exists-upst
tags: added: kernel-bug-exists-upst

Unfortunately the tags field is to small to add the full string kernel-bug-exists-upstream

tags: added: bios-outdated-204
removed: kernel-bug-exists-upst
Changed in linux (Ubuntu):
status: Confirmed → Incomplete

Unfortunately, the BIOS update didn't fix this:

When the AC adapter is connected:

sebastian@bnasws02[0r/0s]:~
$ sudo acpitool -a -b
  Battery #1 : Discharging, 99.11%
  AC adapter : online
sebastian@bnasws02[0r/0s]:~
$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 54016 mWh, 99.11%
    Design capacity : 56041 mWh
    Last full capacity : 54502 mWh, 97.25% of design capacity
    Capacity loss : 2.746%
    Present rate : 0 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

AC adapter is disconnected:

$ sudo acpitool -a -b
  Battery #1 : Discharging, 99.11%, 07:00:11
  AC adapter : off-line
sebastian@bnasws02[0r/0s]:~
$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 54016 mWh, 99.11%, 06:22:35
    Design capacity : 56041 mWh
    Last full capacity : 54502 mWh, 97.25% of design capacity
    Capacity loss : 2.746%
    Present rate : 8471 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

BIOS version info:

$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
UX305LA.204
07/06/2015

Changed in linux (Ubuntu):
status: Incomplete → Confirmed

I guess, the kernel version also matters, so here it is:

$ uname -a
Linux bnasws02 3.16.0-49-generic #65~14.04.1-Ubuntu SMP Wed Sep 9 10:03:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

tags: added: latest-bios-204
removed: bios-outdated-204
Michael Weimann (m982) wrote :

The same problem also exists on UX305UA.
I'm running kernel 4.4.1-040401-generic #201601311534 SMP Sun Jan 31 20:36:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Michael Weimann, to eliminate any potential for quirky difference in hardware, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Sebastian Nohn, to see if this is already resolved, could you please test with the latest mainline kernel (4.5-rc5) and advise to the results?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete

$ uname -a
Linux bnasws02 4.5.0-040500rc5-lowlatency #201602201730 SMP PREEMPT Sat Feb 20 22:37:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

When the AC adapter is connected and the battery is not fully charged:

$ sudo acpitool -a -b
  Battery #1 : Charging, 95.76%, 00:13:41
  AC adapter : online

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 49108 mWh, 95.79%, 00:14:08
    Design capacity : 56041 mWh
    Last full capacity : 51268 mWh, 91.48% of design capacity
    Capacity loss : 8.517%
    Present rate : 9161 mW
    Charging state : Charging
    Battery type : Li-ion
    Model number : ASUS

When the AC adapter is disconnected and the battery is not fully charged:

$ sudo acpitool -a -b
  Battery #1 : Discharging, 95.79%, 04:31:57
  AC adapter : off-line

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 49085 mWh, 95.74%, 05:03:52
    Design capacity : 56041 mWh
    Last full capacity : 51268 mWh, 91.48% of design capacity
    Capacity loss : 8.517%
    Present rate : 9692 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

BUT:

When the AC adapter is connected and the battery is fully charged:

$ sudo acpitool -a -b
  Battery #1 : Discharging, 100.0%
  AC adapter : online

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 51901 mWh, 100.0%
    Design capacity : 56041 mWh
    Last full capacity : 51901 mWh, 92.61% of design capacity
    Capacity loss : 7.387%
    Present rate : 0 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

When the AC adapter is disconnected and the battery is fully charged:

$ sudo acpitool -a -b
  Battery #1 : Discharging, 100.0%, 05:55:17
  AC adapter : off-line

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 51901 mWh, 100.0%, 05:59:55
    Design capacity : 56041 mWh
    Last full capacity : 51901 mWh, 92.61% of design capacity
    Capacity loss : 7.387%
    Present rate : 8652 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

Sebastian Nohn, so to quickly clarify, the issue is or isn't still reproducible in the latest mainline kernel?

Michael Weimann (m982) wrote :

Christopher M. Penalver I filed bug#1550964 for the ASUS UX305UA and added you to the subscribers.

Yes, this is correct, Christopher

Sebastian Nohn:
Me: "Sebastian Nohn, so to quickly clarify, the issue is or isn't still reproducible in the latest mainline kernel?"
You: "Yes, this is correct, Christopher"

Unfortunately, that doesn't answer my question.

It is reproducible:

When the AC adapter is connected and the battery is fully charged:

$ sudo acpitool -a -b
  Battery #1 : Discharging, 100.0%
  AC adapter : online

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 51901 mWh, 100.0%
    Design capacity : 56041 mWh
    Last full capacity : 51901 mWh, 92.61% of design capacity
    Capacity loss : 7.387%
    Present rate : 0 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.5-rc5
tags: added: needs-upstream-testing-4.5-rc6
removed: kernel-bug-exists-upstream
Launchpad Janitor (janitor) wrote :

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
Changed in linux (Ubuntu):
status: Expired → Confirmed
Changed in linux (Ubuntu):
status: Confirmed → Incomplete

Christopher M. Penalver, why are you marking this as incomplete? Which information do you require?

Sebastian Nohn, the latest mainline kernel available is 4.6-rc5. Could you please test this and advise to the results?

4.6-rc5 and rc6 only seem to be available for wily, not for trusty on http://kernel.ubuntu.com/~kernel-ppa/mainline/

Sebastian Nohn, in order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

Once testing of the latest upstream kernel is complete, please mark this report Status Confirmed. Please let us know your results.

Thank you for your understanding.

Still reproducible with 4.6.0-040600rc6-generic:

$ uname -a
Linux bnasws02 4.6.0-040600rc6-generic #201605012031 SMP Mon May 2 00:33:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

AC connected

$ sudo acpitool -a -b
  Battery #1 : Discharging, 98.02%
  AC adapter : online

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 50272 mWh, 98.02%
    Design capacity : 56041 mWh
    Last full capacity : 51290 mWh, 91.52% of design capacity
    Capacity loss : 8.478%
    Present rate : 0 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

AC disconnected

$ sudo acpitool -a -b
  Battery #1 : Discharging, 98.02%, 04:23:32
  AC adapter : off-line

$ sudo acpitool -B
  Battery #1 : present
    Remaining capacity : 50272 mWh, 98.02%, 04:32:25
    Design capacity : 56041 mWh
    Last full capacity : 51290 mWh, 91.52% of design capacity
    Capacity loss : 8.478%
    Present rate : 11072 mW
    Charging state : Discharging
    Battery type : Li-ion
    Model number : ASUS

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: needs-upstream-testing-4.6-rc6
removed: needs-upstream-testing-4.5-rc6
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.6-rc6
removed: kernel-bug-exists-upstream-4.5-rc5 needs-upstream-testing-4.6-rc6
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Igor Stetsiura (inohod) wrote :

I got the same issue with Asus UX310UQ, Ubuntu 16.04 4.8.0-46-generic
It's dual boot laptop and on Win10 everything is ok with battery status.

Build in laptop diods indicates that it plugged in and fully charged.

Output of my upower --dump:

Device: /org/freedesktop/UPower/devices/line_power_AC0
  native-path: AC0
  power supply: yes
  updated: вт, 11-кві-2017 18:33:38 +0300 (1907 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: вт, 11-кві-2017 19:03:38 +0300 (107 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: none
    energy: 46,785 Wh
    energy-empty: 0 Wh
    energy-full: 48,051 Wh
    energy-full-design: 48,336 Wh
    energy-rate: 0 W
    voltage: 11,4 V
    percentage: 97%
    capacity: 99,4104%
    technology: lithium-ion
    icon-name: 'battery-full-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: вт, 11-кві-2017 18:33:38 +0300 (1907 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: discharging
    warning-level: none
    energy: 46,785 Wh
    energy-full: 48,051 Wh
    energy-rate: 0 W
    percentage: 97%
    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

Kai-Heng Feng (kaihengfeng) wrote :

Can you try to boot with kernel parameter 'acpi_rev_override'?

Tiago Ramos (tiagolramos) wrote :

i am using a asus gl502vm and i am also afected.

ubuntu 16.04

Linux nubium-pc01 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_rev_override=1"

upower --dump

Device: /org/freedesktop/UPower/devices/line_power_AC0
  native-path: AC0
  power supply: yes
  updated: Sex 15 Set 2017 14:43:55 BRT (306 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: Sex 15 Set 2017 14:47:55 BRT (66 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    warning-level: none
    energy: 59,614 Wh
    energy-empty: 0 Wh
    energy-full: 60,404 Wh
    energy-full-design: 62,624 Wh
    energy-rate: 0 W
    voltage: 15,2 V
    percentage: 98%
    capacity: 96,455%
    technology: lithium-ion
    icon-name: 'battery-full-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated: Sex 15 Set 2017 14:45:55 BRT (186 seconds ago)
  has history: no
  has statistics: no
  battery
    present: yes
    state: discharging
    warning-level: none
    energy: 59,614 Wh
    energy-full: 60,404 Wh
    energy-rate: 0 W
    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

acpitool -a -b
  Battery #1 : Discharging, 98.69%
  AC adapter : online

tags: added: xenial

ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tramos 2378 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=a701a1fd-79c3-4dbc-be06-b8c9ed40829d
InstallationDate: Installed on 2017-08-23 (23 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
MachineType: ASUSTeK COMPUTER INC. GL502VSK
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-33-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash acpi_rev_override=1 vt.handoff=7
ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-33-generic N/A
 linux-backports-modules-4.10.0-33-generic N/A
 linux-firmware 1.157.12
Tags: xenial
Uname: Linux 4.10.0-33-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/10/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: GL502VSK.301
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: GL502VSK
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.:bvrGL502VSK.301:bd01/10/2017:svnASUSTeKCOMPUTERINC.:pnGL502VSK:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnGL502VSK:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: GL502VSK
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

To post a comment you must log in.