1

When I turn off Ubuntu, the laptop battery continues to drain. I didn't have this issue when I had Windows installed. The problem arose when I installed Ubuntu. I've tried various troubleshooting methods. The BIOS doesn't have WOL (Wake-on-LAN), which can be a problem in some cases. When I turn off the system by holding down the physical Power button on the laptop for 3 seconds, the battery charge remains unchanged. Laptop : HP Laptop 15s-eq1320ur.

When I shut down my laptop using the terminal with the command sudo poweroff -f there are no battery discharge issues. I have tried different kernel versions and different versions of Ubuntu, but the problem remains unresolved.

The problem persists when I use this button.

![enter image description here

Ruslan
  • 29
  • 3

1 Answers1

0

I assume that in the system settings you have configured that after closing the case, the laptop goes to sleep to the ram (i.e. suspend). so maybe try this from console:

# echo 'deep' > /sys/power/mem_sleep

and if it helped, set it somewhere permanently.

or maybe check if that's the problem, do suspend from the console (without typing just given)

# systemctl suspend

watch the battery turn on the laptop now type the above mentioned 'deep' and do the command again and check the batteries

# systemctl suspend

turn on laptop

Marco
  • 1,188
MMM
  • 29
  • Thank you for the advice. I will try to apply it and will provide feedback later – Ruslan Jun 25 '23 at 14:56
  • if in the case of switching off from the gui or the physical button on the housing (poweroff), the problem of battery consumption DOES NOT OCCUR then look for the problem in suspend or hibernate – MMM Jun 25 '23 at 16:50
  • I tried your suggestion, but the problem persists. I have slightly revised my question, sorry for the confusion. – Ruslan Jun 26 '23 at 04:38