You are not logged in.

#1 2014-10-19 19:40:34

davermont
Member
Registered: 2014-09-07
Posts: 21

[Solved] Battery not detected until plugged/unplugged.

Hi,

My Dell 7537 laptop battery is not being detected at startup. At first I thought it was a KDE problem, but after doing some reading online I tried someone's suggestion of plugging in the AC power adapter. What I found is that whatever the state of the AC connection at startup, changing that state causes the battery to be detected. In other words, if the AC is plugged in at startup, unplugging it will cause the battery to be detected. If the AC is not plugged in at startup, plugging it in will cause it to be detected. In both cases, before the battery has been detected, I get the following:

ls /sys/class/power_supply
-----------------------------------
AC

Once the state has been changed (the AC is either plugged in or unplugged), running it again results in:

ls /sys/class/power_supply
-----------------------------------
AC
BAT0

Also, before the battery has been detected, running:

upower -d
-----------------------------------
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              Sun 19 Oct 2014 02:16:12 PM CDT (211 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/DisplayDevice                                                                                                                                                              
  power supply:         no                                                                                                                                                                                         
  updated:              Wed 31 Dec 1969 06:00:00 PM CST (1413746383 seconds ago)                                                                                                                                   
  has history:          no                                                                                                                                                                                         
  has statistics:       no                                                                                                                                                                                         
  unknown                                                                                                                                                                                                          
    warning-level:       none                                                                                                                                                                                      
    icon-name:          ''                                                                                                                                                                                         
                                                                                                                                                                                                                   
Daemon:                                                                                                                                                                                                            
  daemon-version:  0.99.0                                                                                                                                                                                          
  on-battery:      no                                                                                                                                                                                              
  lid-is-closed:   no                                                                                                                                                                                              
  lid-is-present:  yes                                                                                                                                                                                             
  is-docked:       no (deprecated, always false)                                                                                                                                                                   
  critical-action: HybridSleep

After the battery has been detected:

upower -d
-----------------------------------
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              Sun 19 Oct 2014 02:35:39 PM CDT (12 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:               Samsung SDI
  model:                DELL 62VNH46
  serial:               24183
  power supply:         yes
  updated:              Sun 19 Oct 2014 02:35:41 PM CDT (10 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              49.0768 Wh
    energy-empty:        0 Wh
    energy-full:         57.72 Wh
    energy-full-design:  57.72 Wh
    energy-rate:         0 W
    voltage:             16.498 V
    percentage:          85%
    capacity:            100%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'
  History (charge):
    1413747339  85.000  charging
    1413747339  0.000   unknown
  History (rate):
    1413747339  0.000   unknown

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Wed 31 Dec 1969 06:00:00 PM CST (1413747351 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               charging
    warning-level:       none
    energy:              49.0768 Wh
    energy-full:         57.72 Wh
    energy-rate:         0 W
    percentage:          85%
    icon-name:          'battery-full-charging-symbolic'

Daemon:
  daemon-version:  0.99.0
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no (deprecated, always false)to 
  critical-action: HybridSleep

I realize this is a lot of information, but I'm just trying to anticipate questions based on what I've read about already. If anyone is still reading this and has any ideas I'd be happy to hear them. smile

Thanks,
D

Last edited by davermont (2014-10-23 00:49:29)

Offline

#2 2014-10-22 01:39:32

davermont
Member
Registered: 2014-09-07
Posts: 21

Re: [Solved] Battery not detected until plugged/unplugged.

Well, the bad news is that no one had any ideas. On the bright side I've found the solution. For anyone running into this problem, try adding the following kernel parameter to your boot manager options:

acpi_osi=Linux

FYI, I'm using a Dell Inspiron 7537 laptop.

Offline

Board footer

Powered by FluxBB