[HP ENVY Sleekbook 6-1006sa] High Battery discharge rate when Laptop is off.

Bug #1098697 reported by Dave H
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

I have a HP ENVY 6 1006sa Sleekbook running Ubuntu 12.10. Fully charged, unplugged Mains adaptor powered down. 48hrs later re-powered charge now only 65% ! The Laptop battery is discharging when the Laptop is powered off:
http://www.divnut.com/HP_ENVY6_1006sa/HP_ENVY_6_48hr_discharge_2012-12-08.png

The gradient looks OK, so nothing wrong with the battery. Left a further 48 hrs and the Sleekbook would not start on battery alone.
http://www.divnut.com/Ubuntu/HP_ENVY_6_96hr_discharge_2012-12-10.png

While my Sleekbook is in warranty I'm dual booting Win 7 and Ubuntu 12.10 (Unity desktop). I've done a Win 7 and Ubuntu 12.10 battery drain 'when off' comparison:
Win7: 4% per 24hrs / Ubuntu 12.10: ~17% per 24hrs.
(The measurement includes power on and boot to OS to make the measurement)

Did a longer Win 7 test for improved accuracy: 10% depletion in 7.5 days or 1.3% in 24hrs. Updated the Sleekbook BIOS from F.04 to the latest F.12 – No Change. Did a Win7 HP Battery diagnostics check: OK
http://www.divnut.com/HP_ENVY6_1006sa/Battery_check_281212_15pm26.png

WORKAROUND: sudo ethtool -s eth0 wol d

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-3.5.0-21-generic 3.5.0-21.32
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic x86_64
NonfreeKernelModules: fglrx wl
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: dave 2120 F.... pulseaudio
 /dev/snd/controlC0: dave 2120 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Fri Jan 11 19:25:02 2013
HibernationDevice: RESUME=UUID=10a7229b-c7dc-4be5-b73a-47f8cc688067
InstallationDate: Installed on 2012-11-02 (69 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: Hewlett-Packard HP ENVY 6 Notebook PC
MarkForUpload: True
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-21-generic root=UUID=7f85374d-bd7c-4780-90aa-b2538b5a0b75 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-21-generic N/A
 linux-backports-modules-3.5.0-21-generic N/A
 linux-firmware 1.95
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
 Jan 11 17:58:57 dave-HP-ENVY-6-Notebook-PC wpa_supplicant[1190]: eth1: WPA: Group rekeying completed with 00:1f:33:26:3d:7f [GTK=TKIP]
 Jan 11 18:11:49 dave-HP-ENVY-6-Notebook-PC kernel: [ 7547.438831] EXT4-fs (sda10): recovery complete
 Jan 11 18:11:49 dave-HP-ENVY-6-Notebook-PC kernel: [ 7547.469516] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null)
 Jan 11 18:11:52 dave-HP-ENVY-6-Notebook-PC kernel: [ 7551.321057] EXT4-fs (sda11): mounted filesystem with ordered data mode. Opts: (null)
 Jan 11 18:58:56 dave-HP-ENVY-6-Notebook-PC wpa_supplicant[1190]: eth1: WPA: Group rekeying completed with 00:1f:33:26:3d:7f [GTK=TKIP]
dmi.bios.date: 09/03/2012
dmi.bios.vendor: Insyde
dmi.bios.version: F.12
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 18DE
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 77.44
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.12:bd09/03/2012:svnHewlett-Packard:pnHPENVY6NotebookPC:pvr0795100000205600000320100:rvnHewlett-Packard:rn18DE:rvr77.44:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP ENVY 6 Notebook PC
dmi.product.version: 0795100000205600000320100
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Dave H (dave-hills-2009) wrote :
Revision history for this message
Kev Quirk (kevquirk) wrote :

I'm also experiencing this issue on exactly the same hardware.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas Ward (teward) wrote :

Hello, and thanks for your bug!

Myself, and several others, are finding it hard to believe that the system's powered-off-state battery drain rate is affected by linux. According to all modern documentation on hardware for laptops, there is no direct link between OS and battery drain rate while the system is powered down, since the kernel isn't actually running.

Do you mean that your system is in the "Suspend" state (a low-power usage state), rather than a powered-off state? Suspending is different than powering down completely.

------
Thomas Ward
Ubuntu BugSquad Member

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

For the folks affected by this bug, there are a couple of things to try. It's unusual for an OS to drain a battery if the system is completely powered off.

The issue you are seeing may indicate a bad batter(Or batch of batteries since it affects multiple people with the same system). Or there may be some type of short in the the laptop.

One thing to try is to let the battery sit for two days out of the laptop and see if it drains. If it doesn't, that could indicate a short in the laptop. If it still does, the battery is probably going bad.

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

If the battery doesn't drain when outside of the laptop, anther thing to test would be to ensure the system is really powered off and not in some hybernated/suspended state. Shutdown the laptop, then pull the battery and re-insert it. That way you confirm the OS isn't in some sort of suspend or hibernated state. If the battery drain stops after this action, then it may be a kernel issue.

Revision history for this message
Dave H (dave-hills-2009) wrote :

I confirm this battery drain occurs when the Sleekbook is turned off, not suspended. For the doubters, how do you explain the difference between Win7 and Unbuntu 12.10? I can actually use Win7 as a work around, work in Ubuntu power down, boot into Win 7 and then power down and I have a battery drain of 1.3% per day and not 17% per day as with Ubuntu. If I leave the Sleekbook for a week having powered down with Ubuntu I have a dead laptop. Makes a nonsense of the 7 - 8 hrs battery life I bought the sleekbook for. The Sleekbook has the battery embeded in the Laptop case and is not user removable. I will risk my warranty and take the Sleekbook apart to test the battery depletion with the battery disconnected.

For background, this bug is in support of the following 2 Ubuntu User forum Posts:

http://ubuntuforums.org/showthread.php?t=2052582

http://ubuntuforums.org/showthread.php?t=2072741

Revision history for this message
Dave H (dave-hills-2009) wrote :

As of 21:30 today (Sunday 13th Jan'12) I have fully charged my Sleekbook battery and removed the back cover and disconnected the Battery. I will report back in 10 days time ( 23/01/12 )on the battery status following reconnection.

Dave H (dave-hills-2009)
description: updated
Revision history for this message
Dave H (dave-hills-2009) wrote :

Repaired bad links to Ubuntu battery graphs in bug description.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I'd also like to request one additional test.

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.8 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

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'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

This test will tell us if the bug also exists upstream.

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc3-raring/

Revision history for this message
Howard Campey (hc1973-deactivatedaccount-deactivatedaccount) wrote :

I have a similar issue with my Toshiba Satellite L750 using 12.04 dual boot with Windows 7. When shutting down Ubuntu, the laptop battery will be dead within 8 hours, but if I remove the battery or log in to Windows then shut down the battery holds charge.

Revision history for this message
Raymond Dalgleish (raymond-dalgleish) wrote :

I have experienced exactly the same issue on a Toshiba Tecra M2. Initially, there was no problem using older versions such as 9.04 (I think). After un update to a newer version the battery drain issue suddenly appeared, though I cannot now remeber the version number at which the problem appeared. Initially, I thought that the battery was at fault and bought a new one but the battery kept draining even when the computer was off. Both the old and new batteries are fine and do not drain if removed from the computer after shutdown.

I'm now using Linux Mint (with MATE) as my OS of choice and the problem persists.

Revision history for this message
Xavi (xavidp) wrote :

Similar issue here (I haven't tested with Windows 7 home yet), but with xUbuntu 12.10 (kernel 3.5.0-17-generic) I confirm that my laptop (Brand new 'HP Pavilion dv6') looses the battery power in a few days (a week or so) even after powered off (not after suspending but after powering off).

Odd...

Revision history for this message
Raymond Dalgleish (raymond-dalgleish) wrote :

OK, I've found a workaround for this which appears to work for me with Mint even though it's intended for Ubuntu:

http://www.hecticgeek.com/2012/09/disabling-wake-on-lan-in-ubuntu-might-save-a-tiny-bit-of-power-on-your-laptop/

You will probably need to use the solution which begins at step 5.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can folks affected by this bug run:
sudo ethtool eth0 | grep Wake-on

And post the results.

Revision history for this message
Raymond Dalgleish (raymond-dalgleish) wrote :

This is what I now see when I run the command:

ray@ray-TECRA-M2 ~ $ sudo ethtool eth0 | grep Wake-on
 Supports Wake-on: umbg
 Wake-on: d
ray@ray-TECRA-M2 ~ $

However, that's the output AFTER having made the edit to disable_wol. BEFORE the edit, it was

ray@ray-TECRA-M2 ~ $ sudo ethtool eth0 | grep Wake-on
 Supports Wake-on: umbg
 Wake-on: g
ray@ray-TECRA-M2 ~ $

Remember too that I'm running Mint 13 (Maya)

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for the info, Raymond. It would be great if others affected by this bug could see if disabling WoL stops this issue.

Revision history for this message
Dave H (dave-hills-2009) wrote :

Here is my ethtool output:
dave@dave-HP-ENVY-6-Notebook-PC:~$ sudo ethtool eth0 | grep Wake-on
 Supports Wake-on: pumbg
 Wake-on: g
I thought I would not be affected by this as WOL it is disabled in the BIOS. Will try the disable method in #16 and post the results.

I've completed the 2 tests requested:

1) Battery depletion with battery disconnected for 7 days ~2%
2) 48hr (2 days) Battery depletion test with 12.10 clean install + upstream Kernel v3.8-rc3-raring ~ 33%

Revision history for this message
Xavi (xavidp) wrote :

Hi:

xavi@coprinus:~$ sudo ethtool eth0 | grep Wake-on
 Supports Wake-on: pumbg
 Wake-on: g
xavi@coprinus:~$

After that, I've followed the steps in
http://www.hecticgeek.com/2012/09/disabling-wake-on-lan-in-ubuntu-might-save-a-tiny-bit-of-power-on-your-laptop/

and set WOL to disabled. I'll check in 24h or a few days the laptop battery level.

Revision history for this message
Raymond Dalgleish (raymond-dalgleish) wrote :

Although the issue has been "solved" it has been through the use of a workaround, rather than a true fix.

The workaround involves an edit to /usr/lib/pm-utils/power.d/disable_wol AS WELL AS installing ethtool. Simply installing ethtool does not in itself provide a fix for the problem. Somebody with more expertise in scripting would need to explain to me the intended function of the disable_wol script, but it's clearly intended to take input from somewhere to either enable or disable wol. The edit which produces the fix should, presumably, not be required at all. With the edit in place, the script always keeps wol disabled irrespective of any argument directed to the script.

Can somebody explain the intended function of disable_wol in simple language? That might get us closer to understanding the true nature of the problem.

Thanks.

Revision history for this message
Dave H (dave-hills-2009) wrote :

This text replaces #22

Raymond your right it's not a fix it's a workaround the developers need to specifiy the fix. Thanks for the workaround.

So repeating my text from #22:

Ran the following test:
1) Installed ethtool.
2) Ran command sudo ethtool -s eth0 wol d
3) Checked WOL:
sudo ethtool eth0 | grep Wake-on
[sudo] password for dave:
   Supports Wake-on: pumbg
   Wake-on: d
3) Fully charged Eny Sleekbook, powered down, waited 48hrs (2days).
Test Result
4) Powered up Sleekbook on battery immediately took battery reading:

http://www.divnut.com/Ubuntu/Battery_48hr_test_010212.png

Measured Battery charge state: 96.3% battery depletion ~1.7% in over 2 days allowing ~1-2% for boot up on Battery. Previously this would have been 36%. The battery depletion is now respectable (same as Win7).

Also tested if Wake-on: d remains following reboots – Yes it did so I did not have to edit /usr/lib/pm-utils/power.d/disable_wol.
Also tested both current and upstream Kernels.

I now presume the 'ethtool -s eth0 wol d' modifies a Kernel parameter ?

@Joseph Salisbury please suggest the next step.

Dave H (dave-hills-2009)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Dave H (dave-hills-2009) wrote :

Just done a clean install of 12.10, confirmed battery depletion still occurs for:
Linux ENVY6 3.5.0-23-generic #35-Ubuntu SMP Thu Jan 24 13:15:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Had to do the hack: "gksudo gedit /usr/lib/pm-utils/power.d/disable_wol" detailed above to get a permanent Wake-on: d

Also added 'affects upstream' as I confirmed it was present with Kernel v3.8-rc3-raring.

Changed bug to confirmed.

Revision history for this message
Andreas (raffix) wrote :

I hope this problem will be fixed soon, because it's still in Ubuntu 13.04 released yesterday.
Why does Ubuntu activate the Wake-on-LAN-feature even if it's switched off in the BIOS?
I never had the idea to check that before this annoying battery drain problem.

Revision history for this message
Dave H (dave-hills-2009) wrote :

I've now have a clean install of Ubuntu 13.04. Confirmed problem still exists. As with 12.10 the package ethtool was missing. Installed this

dave@ENVY6-1304:~$ sudo apt-get install ethtool

and repowered now have:

dave@ENVY6-1304:~$ sudo ethtool eth0 | grep Wake-on
[sudo] password for dave:
 Supports Wake-on: pumbg
 Wake-on: d

So an improvement. Will log a bug for package Ethtool being missing.

Revision history for this message
rauli (jari-raulamo) wrote :

I have Toshiba L755-1DR laptop and Ubuntu 12.04 64bit. I had battery drain and it seems that disabeling "sleep and charge" in the bios fixed it. I don't get battery drain anymore.

"Sleep and charge" gives power to one of the usb ports while the laptop is off. I never had anything connected to the laptop while it was off, so I guess the usb port leaks the power somewhere.

Revision history for this message
alon (alon-ben-refael) wrote :

Same problem Toshiba SATELLITE S50D-A-10C.

Did a little check:
2 HDD's: One with Win8 and one with Ubuntu 12.04 (new install)...
- Plugged in the Win8, booted and then powered off - no batary discharge.
- Plugged in Ubuntu, booted and then powered off - a very quick batary discharge (40%:12hr!!!)
- Plugged in the Win8, booted and then powered off - no batary discharge.
- Plugged in Ubuntu, left off - no batary discharge.
- Booted Ubuntu and then powered off - a very quick batary discharge
under windows 8 there is a proprietary program that manages PC power. Probably under Ubuntu a specific power setting is being changed (something similar to USB charge when off or Wake on LAN or something) and we need to find it and disable it unless needed...

Revision history for this message
alon (alon-ben-refael) wrote :

Did a little
sudo ethtool -s eth0 wol d
will update in about 12hr...

Revision history for this message
Виктор (vpetevotov) wrote :

As I remember, I have this bug on my HP ENVY DV7 on all linux systems, from Fedora to Debian, independently of installed Desktop Environment. I have also preinstalled Windows 8 with no such effect. It's really annoying.

Revision history for this message
penalvch (penalvch) wrote :

Dave H, as per http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5278387#N653 an update is available for your BIOS (F.15). If you update to this following https://help.ubuntu.com/community/BiosUpdate , does it change anything? If it doesn't, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Please note your current BIOS is already in the Bug Description, so posting this on the old BIOS would not be helpful.

For more on BIOS updates and linux, please see https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette .

Thank you for your understanding.

tags: added: bios-outdated-f.15
tags: added: raring
description: updated
description: updated
Changed in linux (Ubuntu):
importance: Medium → Low
status: Confirmed → Incomplete
summary: - High Battery discharge rate when Laptop is off.
+ [HP ENVY Sleekbook 6-1006sa] High Battery discharge rate when Laptop is
+ off.
Revision history for this message
Raymond Dalgleish (raymond-dalgleish) wrote :

So, this issue has been downgraded to Low importance and the status changed to Incomplete because somebody has noticed that Dave is not running the latest version of the BIOS on his HP ENVY laptop.

This is a generic problem affecting all makes of laptop. The BIOS on my Toshiba Tecra M2 does not support the "Sleep and Charge" feature, so that's not what's causing the battery drain. Let's remind ourselves that this problem did not exist until a kernal update caused it to happen with all flavours of Linux. It does not exist when Windows is the operating system. We do not seem to be getting any closer to the root of the problem.

Revision history for this message
penalvch (penalvch) wrote :

Raymond Dalgleish, so your hardware may be tracked, could you please file a new report by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Revision history for this message
Raymond Dalgleish (raymond-dalgleish) wrote :

Further up in the thread I made it clear that the issue first arose when running an earlier version of Ubuntu. However, I'm now running Linux Mint 13. I ran the command anyway, but Mint really was not impressed because ubuntu-bug "is not an official LinuxMint package". It didn't generate a report.

Looks like I'm stuck and will just have to be a spectator.

Revision history for this message
Dave H (dave-hills-2009) wrote :

Hello Christopher,
I updated by BIOS some time ago:

dave@ENVY6:~$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
F.15
01/22/2013

I cannot remember when I updated so not sure it is was before or after testing for this bug with 13.04.

I hadn't tested for this bug with 13.10 as I was distracted with a AMD graphics issue and just did the same work around for the this WOL bug as for 13.04.

Last night (09/12/13) I've performed a fresh install on spare partitions of Ubuntu 13.10 and updated to the latest package issues and kernel:

dave@ENVY6-2:~$ lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10

dave@ENVY6-2:~$ cat /proc/version_signature
Ubuntu 3.11.0-14.21-generic 3.11.7

dave@ENVY6-2:~$ sudo ethtool eth0 | grep Wake-on
[sudo] password for dave:
 Supports Wake-on: pumbg
 Wake-on: d

As you can see its good news with 13.10 the wake-on-lan bug is fixed for my HP Envy 6. I confirm ethtool (ethtool 1:3.9-1) is now included in ubuntu-13.10-desktop-amd64.manifest. I presume this plus a Kernel update fixed the issue. Can't be sure if the bios update had any affect.

Kind regards

Dave H

Revision history for this message
penalvch (penalvch) wrote :

Dave H, would you need a backport to a release prior to Saucy, or may this be closed as Status Invalid?

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.