I've collected some more data and it seems to suggest that maybe
suspend/sleep has something to do with this?

=========

Test 1:
  1. Boot (and wait a few seconds after signing in).
  2. Suspend/Sleep (using the "sleep" button from Manjaro/KDE's GUI).
  3. Wait 20 seconds.
  4. Wake from sleep.
  5. Wait 20 seconds again.
  6. Poweroff (and not the time and percentage just before doing so).
  7. Wait a few more seconds before closing the lid.

Result:
  12% drain (100% -> 88%) in exactly 2 hours powered off.
  Note: All of the data points from my previous comment were done with 
Sleep/Suspend being one of the steps of my test workflow. In this new version 
of the test, I test for a shorter period of time and have not opened any 
applications during the test workflow.

=========

Test 2:
  1. Boot (and wait a few seconds after signing in).
  2. Open some applications and use them a bit (Firefox, VS Code, Yakuake, FZF) 
- about 1 or 2 minutes.
  3. Close all applications.
  4. Poweroff (and not the time and percentage just before doing so).
This time I forgot to wait a few seconds after powering off before closing the 
lid (but I *did* at least wait till all the lights turned off)

Results:
  2% drain (88% -> 86%) in exactly 6 hours powered off.
  1% drain (32% -> 31%) in exactly 9 hours powered off.

Results when I don't open any applications:
  1% drain (44% -> 43%) in exactly 2 hours powered off (run 1).
  So it seems like opening applications doesn't have anything to do with this 
(as expected).

=========

Test 3:
(no formally described steps this time)

Results when I force powered off from my bootloader menu (currently, that's 
rEFInd):
  1% drain (47% -> 46%) in exactly 2 hours powered off.

Results when I shutdown from my BIOS/UEFI menu (interrupt the boot process and 
go straight to the UEFI menu):
  0% drain (100% -> 100%) in exactly 6 hours and 20 minutes powered off.

=========

Conclusion:

I'm pretty sure that there's no BIOS v/s Bootloader issue here and that
the difference in the rate of battery drain is negligible. I'm also
pretty sure that as long as I don't let my laptop sleep/suspend on
Manjaro (running Linux 5.10 or Linux 5.13) it's fine.

Could this help in identifying the source of the bug?

Could someone else please conduct similar experiments so that we can
cross-validate the results? Perhaps someone on Ubuntu or some other
operating system that's *not* Manjaro (just so that we can rule out the
operating system as a variable in this)

Once again, please let me know if I can help by collecting more
data/logs/etc.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1912935

Title:
  battery drain while notebook off / shutdown

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  my battery drains around 15 to 20 percent a day when shutdown on linux ubuntu.
  It is an HP notebook HP 15s-eq0355ng , Ryzen 5 3500U , Vega8 .

  Tested:

  - with ubuntu 20.04
  - Kernel 5.4, 5.8 (hwe) and the current mainline kernel 5.11 (rc4)
  - no usb devices are plugged in
  - no wake ob lan available
  - no USB power when off (checked with optical mouse)
  - no visible LEDs are on when shutdown

  I reinstalled window 10, when shutdown from windows there is no
  (visible) battery drain (or significantly lower).

  Linux is unusable on this device, if the battery drains in a short
  time to 0% percent. This cause battery damage ...

  ---

  Tested TLP with default settings and activated
  DEVICES_TO_DISABLE_ON_SHUTDOWN (bluetooth wifi wwan), same power
  consumption after shutdown.

  Same power consumption on 20.10 (Groovy Gorilla).

  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  test        953 F.... pulseaudio
   /dev/snd/controlC0:  test        953 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2021-01-24 (0 days ago)
  InstallationMedia: Xubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 
(20200731)
  MachineType: HP HP Laptop 15s-eq0xxx
  Package: linux (not installed)
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-64-generic 
root=UUID=17ad50f6-ec98-46b2-8c2e-c169f9baace8 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.4.0-64.72-generic 5.4.78
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-64-generic N/A
   linux-backports-modules-5.4.0-64-generic  N/A
   linux-firmware                            1.187.8
  Tags:  focal
  Uname: Linux 5.4.0-64-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 11/18/2020
  dmi.bios.vendor: AMI
  dmi.bios.version: F.30
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 86FD
  dmi.board.vendor: HP
  dmi.board.version: 99.40
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAMI:bvrF.30:bd11/18/2020:svnHP:pnHPLaptop15s-eq0xxx:pvr:rvnHP:rn86FD:rvr99.40:cvnHP:ct10:cvrChassisVersion:
  dmi.product.family: 103C_5335KV HP Notebook
  dmi.product.name: HP Laptop 15s-eq0xxx
  dmi.product.sku: 20T63EA#ABD
  dmi.sys.vendor: HP

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to