Page 1 of 1

W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 1:38 pm
by Machinus
Hello,

I use my work laptop plugged in, so it always has close to a full charge when I turn it off. I put it into "sleep" mode at the end of the day.

If I wait a few days without turning it back on, the battery will completely discharge, so much so that it kills the sleep state and I have to reboot, losing my saved session.

My battery never used to do this, and was able to hold a charge for much longer. Is this a normal battery for four years of moderate use, or do I have another problem?

I am using Linux.

Re: W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 1:57 pm
by bit_twiddler
What version of Linux are you using, and do you have tlp installed?

Also, do you unplug your computer from AC when you put it into sleep mode?

Re: W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 5:27 pm
by Machinus
bit_twiddler wrote:What version of Linux are you using, and do you have tlp installed?

Also, do you unplug your computer from AC when you put it into sleep mode?
I will install TLP and see if it makes a difference.

I unplug from AC, put into sleep mode, and then put it into the case. Then it drains the battery.

Re: W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 5:37 pm
by bit_twiddler
try running

sudo tlp stat -b

and see what it tells you.

Re: W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 5:41 pm
by Machinus
bit_twiddler wrote:try running

sudo tlp stat -b

and see what it tells you.

Code: Select all

+++ ThinkPad Extended Battery Functions                                                                                                                                                       
tp-smapi   = active                                                                                                                                                                           
tpacpi-bat = inactive (unsupported hardware)                                                                                                                                                  
                                                                                                                                                                                              
+++ ThinkPad Battery Status: BAT0 (Main / Internal)                                                                                                                                           
/sys/devices/platform/smapi/BAT0/manufacturer               = SANYO                                                                                                                           
/sys/devices/platform/smapi/BAT0/model                      = 42T4799                                                                                                                         
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2010-07-09                                                                                                                      
/sys/devices/platform/smapi/BAT0/first_use_date             = 2010-08-17                                                                                                                      
/sys/devices/platform/smapi/BAT0/cycle_count                =    731                                                                                                                          
/sys/devices/platform/smapi/BAT0/design_capacity            =  93240 [mWh]                                                                                                                    
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  50500 [mWh]                                                                                                                    
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  50240 [mWh]                                                                                                                    
/sys/devices/platform/smapi/BAT0/remaining_percent          =     99 [%]                                                                                                                      
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]                                                                                                           
/sys/devices/platform/smapi/BAT0/remaining_charging_time    = not_charging [min]                                                                                                              
/sys/devices/platform/smapi/BAT0/power_now                  =      0 [mW]                                                                                                                     
/sys/devices/platform/smapi/BAT0/power_avg                  =      0 [mW]                                                                                                                     
                                                                                                                                                                                              
/sys/devices/platform/smapi/BAT0/start_charge_thresh        =     96 [%]                                                                                                                      
/sys/devices/platform/smapi/BAT0/stop_charge_thresh         =    100 [%]                                                                                                                      
/sys/devices/platform/smapi/BAT0/force_discharge            =      0


Soo if there is anything unusual here, I am not recognizing it...

Re: W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 7:14 pm
by bit_twiddler
Looks O.K. for a 3-4 year old battery.
I suggest running the command again after
a suspend cycle to see how much it is discharging.

Re: W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 7:38 pm
by bit_twiddler
After thinking about it, it has occurred to me that
you might not be having a problem at all.

On a W510, power consumption during suspend is
probably 1-2 watts. If you let the machine sleep without
being hooked up to AC for 48 hours, draining your
battery is completely normal.

I'd recommend trying to see if you can get it to hibernate.

Re: W510 battery completely discharges overnight and won't resume

Posted: Tue Feb 10, 2015 8:27 pm
by Machinus
I will wait a few more hours and see how much it has drained. Also I will experiment with hibernate mode instead.

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 9:31 am
by Machinus
Ok, I determined that the laptop is draining 1.6W in sleep mode.

What could be causing this, and how do I fix it?

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 10:13 am
by axur-delmeria
Two things I can think of as of the moment:
1. Wake on LAN
2. Always on USB

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 10:26 am
by Machinus
I suspect USB also, but I am not sure how to turn it off. I tried in the BIOS but the power still drains.

I think the LAN activation is already disabled.

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 11:31 am
by jedisurfer1
this looks like usb always on option is draining. Had the same with another user in the office. BTW I run ubuntu in a virtual machine, not sure of power manager support in linux but I suggested to a coworker to run battery maintenance reset in windows 7 and it went from 50whr to 70ish whr. So you can possibly regain 20% of your battery. Good luck.

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 11:49 am
by Machinus
jedisurfer1 wrote:this looks like usb always on option is draining. Had the same with another user in the office. BTW I run ubuntu in a virtual machine, not sure of power manager support in linux but I suggested to a coworker to run battery maintenance reset in windows 7 and it went from 50whr to 70ish whr. So you can possibly regain 20% of your battery. Good luck.
I have dual-boot, but I am not sure how to permanently disable this from either OS. I need to keep the sleep state from Linux so it has to be disabled from there.

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 11:56 am
by jedisurfer1
Machinus wrote:
jedisurfer1 wrote:this looks like usb always on option is draining. Had the same with another user in the office. BTW I run ubuntu in a virtual machine, not sure of power manager support in linux but I suggested to a coworker to run battery maintenance reset in windows 7 and it went from 50whr to 70ish whr. So you can possibly regain 20% of your battery. Good luck.
I have dual-boot, but I am not sure how to permanently disable this from either OS. I need to keep the sleep state from Linux so it has to be disabled from there.
When you boot press F1 or Enter. It will bring you to the bios -> config usb settings and turn off usb always on. Can also be configured in power manager I think but bios is easier.

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 12:10 pm
by Machinus
Hmm, both wake on LAN and always on USB were already disabled.

So there must be something else that is causing the power drain.

Re: W510 battery completely discharges overnight and won't resume

Posted: Wed Feb 11, 2015 1:38 pm
by bit_twiddler
1.6W is probably normal for your generation CPU. Sandy Bridge is a little better.

Doing a little research, I have found that DDR3 does have self-refresh,
so I don't know what the CPU is doing - perhaps part of it
needs to be powered up during the suspend state?

If someone here has a Haswell, perhaps they could post
some measurements. Supposedly, Haswell is improved
in this area.

I only use suspend when I'm moving from one
room to another, or when I leave a machine on
a dock overnight. It's not good to repeatedly
charge and discharge the battery.

I recommend getting hibernation to work.