You are not logged in.

#1 2020-11-25 07:15:48

Farhaduneci
Member
Registered: 2020-11-25
Posts: 7

[SOLVED] Does anybody knows how to save battery on HP laptops?

Hey there, I have a Hp pavilion 15-cs0016nia witch I've been using with diff Linux distros for a couple of years but all distros I always faced a SUPER lack of battery life and IDK what to do at all, any solutions have I could find have been tried and battery jumps from 90 to 50 in about 40 min and from 50 to 15 in about 10 min, I use TLP now, powertop does not show anything special. I need to mention that the battery works perfectly fine on Windows.

Last edited by Farhaduneci (2020-11-28 10:14:49)

Offline

#2 2020-11-25 08:00:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,685

Re: [SOLVED] Does anybody knows how to save battery on HP laptops?

powertop does not show anything special

It's not supposed to show omething special, but the power drain of different components which will tell you what draw most and hence where to put effort to save some battery…

Make sure windows isn't hibernating (fast boot, link in my signature), see which c-states the cores take (whether they dial down at all) and since this is probably an optimus system, check your configuration there (and whether you're running the nvidia GPU full steam all the time)

Offline

#3 2020-11-25 08:25:11

Farhaduneci
Member
Registered: 2020-11-25
Posts: 7

Re: [SOLVED] Does anybody knows how to save battery on HP laptops?

Thanks for your info & time :), Well yes this is an Optimus system but my Nvidia GPU does not run any process as the nvidia-smi shows (But the GPU is powered on and loaded even if there is nothing for it to run) I do not know how to turn this off unless I the times I need it though.

And about the info which I could understand from powertop:

  • /usr/bin/kwin_x11 Process uses about 500mW on average and 10W at top and there are TWO processes of it with diff PIDs

  • System baseline power is estimated at 5.93 W

    Power est.    Usage     Device name
      3.45 W     51.0%        CPU misc
      1.75 W     51.0%        CPU core
      498 mW     25.0%        DRAM


    These 3 are the most draining things I guess

These two cuoght my eyes the most, and my CPU core 7 runs almost about 80% all the time, I DO NOT run any heavy program but firefox and some other simple apps too but I do not know what just eats all my battery out. do you have any ideas about these ?

Offline

#4 2020-11-25 13:34:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,685

Re: [SOLVED] Does anybody knows how to save battery on HP laptops?

As for your GPU config, see https://wiki.archlinux.org/index.php/Optimus (chose a path and configure the system accordingly)

my CPU core 7 runs almost about 80% all the time

userspace or some idle process? What's the output of "top"?

More reads:
https://wiki.archlinux.org/index.php/Power_management
https://wiki.archlinux.org/index.php/CP … cy_scaling

The second kwin_x11 process sure sounds fishy (maybe a race condition because of the dual GPU setup?) and for KDE ensure that sth. called "baloo" isn't taking much CPU time (it's a file indexer, if that runs complete updates in the background your battery will starve fast)

Offline

#5 2020-11-27 09:29:19

Farhaduneci
Member
Registered: 2020-11-25
Posts: 7

Re: [SOLVED] Does anybody knows how to save battery on HP laptops?

Thanks a million for your response 'seth',
I had a look at all the links you provided and searched about the issue a lot, finally, I guess my problem is fixed by Laptop-mode-tools and its default optimizations, in my case tlp couldn't do so much (I might have configured it wrong). I've used optimus-manager to handle the GPU though the Nvidia is still on, it does not consume so much power, after all, I hope these too help others too, My laptop battery lasts about 4-6 hours now ^^

Offline

#6 2020-11-27 12:51:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,685

Re: [SOLVED] Does anybody knows how to save battery on HP laptops?

Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB