LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-14-2024, 11:25 AM   #1
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Battery life on HP 1116nr with Debian 12 and XFCE


Hi guys, I frequently pull out this old HP mini netbook for brief Internet browsing and some DOSBox gaming. A month ago I finally upgraded the RAM to the max 2GB; and this week replaced the old battery with a high capacity and updated the BIOS from F.10 to F.16.

The old battery was *very* old and swollen enough to crack the bottom plastic. At full charge XFCE power manager showed Voltage: 9.3V, Fully charged (design): 26.6Wh, and Fully charged: 9.4Wh (35%). While running on battery power with no programs open, I hovered the mouse over the icon to display the remaining charge, and watched as it dropped 1% every 20 seconds. The new battery is the full 11V and designed for 53Wh and so far is draining much more slowly with no open programs - 1% every ~2 minutes.


My concern now is drainage while the computer is shutdown. I normally shutdown from the XFCE panel, but the same thing happens if using 'shutdown -h now' from a terminal. I had the problem before with Debian 10 and solved it by creating a service to disable WOL. Since installing Debian 12 with XFCE 4.18 and kernel 6.1.0-13 I once again experience battery drain after shutting down. It will be fully charged when shutdown, and within 1 week it is below 25%. Granted this is on the old battery.

The new BIOS didn't add any new settings and there are no power/ACPI related settings; but I hope that if there was any ACPI bug the new BIOS patched it. The USB ports don't stay alive after shutdown - I tried both with a smart watch charger. I did a test yesterday with the old battery by removing it at full charge, and after 12 hours plugged it back in and was still full.

I've looked at systemd-inhibit and the only items listed are NetworkManager, ModemManager, UPower, xfce-power-manager, and xscreensaver. 'top' and 'sudo ps aux' don't show anything additional that stands out except maybe this one process:
/usr/bin/python3 /usr/share/system-config-printer/applet.py

I found a couple of forum threads elsewhere, one Gentoo and one Debian, where a similar drain was traced to hwclock. Is that the likely culprit and I am looking at expected behavior? Or is there anything else that might reduce drainage when shutdown (besides removing the battery)? Thanks!
 
Old 01-15-2024, 05:56 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,302

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
That would give you about 3 hours battery life. There are things you can do to increase battery life, but you have to do them separately often.
  • Switch to the kernel powersaver governor
  • Set a rapidly acting black screensaver.
  • Make the screen display dimmer.
  • Introduce a rapid auto-suspend
being some of the main ones Another thing you could do it the budget allowed it is to buy an M1-M3 Apple Mac, as they are very power friendly. The Arm cpus and small wafer fab are very good that way.
 
1 members found this post helpful.
Old 01-15-2024, 07:33 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Original Poster
Rep: Reputation: 63
Thanks for the tips, business_kid. After charging the new battery overnight I unplugged it this morning leaving the computer off, and 12 hours later when I turned it on the battery meter was still 100%. It seems (so far) that the new battery and/or BIOS update solved the drain while powered off.

I will make use of your suggestions to reduce drain while in-use. I'm not sure about the kernel governor or auto-suspend, but I did go into power manager settings and found the settings to dim the screen when idle and to blank the screen after x minutes.

Regarding the M1-3 Mac you mention, I'm not a fan of Apple. Lol. I do have a power-friendly Win10 Geobook laptop for regular usage. I still like this old netbook, though, for portability and retrogaming
 
Old 01-16-2024, 08:04 AM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Back when I ran a M&A classmate touchscreen clamshell with a atom n270

I always kept the manual on file in ~/Documents folder cuz there is so much to remember

https://www.manua.ls/hp/mini-110-1116nr/manual

My Dell ll 8120 chromebook presently took it's place as my antiX linux chromebook that can run dosbox games now.
 
Old 01-16-2024, 08:52 AM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Original Poster
Rep: Reputation: 63
Hey, thanks for the manual idea. I keep some reference sheets in the bag with it, but not the whole manual.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Improve Notebook Battery Life in Debian with TLP LXer Syndicated Linux News 0 12-07-2019 03:22 PM
Laptop Battery life.. Does Distro affect battery life?? jeevanism Linux - Hardware 6 07-09-2011 02:16 AM
ACER Aspire 5536 has half battery life and idles up to 80*c in Debian Squeeze William (Dthdealer) Linux - Laptop and Netbook 14 04-13-2010 03:22 AM
Windows: 4-5 hour battery life, Gentoo : ~2:30 battery life numerous Linux - Laptop and Netbook 3 01-17-2005 08:39 PM
windows, good battery life -> fedora, bad battery life daedalusq1115 Linux - Laptop and Netbook 1 01-17-2005 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration