Ubuntu Dual Battery Drainage Question
Ubuntu Dual Battery Drainage Question
I received an X32 and an UltraBaseX3 yesterday. I docked the X32 and put in another battery in the UBX3 so that I would be running a dual battery configuration. They both charged up and are showing on the battery meter properly.
Now here's where my question comes in. When battery0 was finished draining (0%), it than started to use battery1. Is there any way to change how the batteries are being utilized so that battery0 don't hit 0% before battery1 is utilized?
Now here's where my question comes in. When battery0 was finished draining (0%), it than started to use battery1. Is there any way to change how the batteries are being utilized so that battery0 don't hit 0% before battery1 is utilized?
R52 1858-AKU - 2Gb RAM
PRII
PRII
Re: Ubuntu Dual Battery Drainage Question
No, that option is not present in thinkpads be it Linux or in windows.mini_g wrote:Now here's where my question comes in. When battery0 was finished draining (0%), it than started to use battery1. Is there any way to change how the batteries are being utilized so that battery0 don't hit 0% before battery1 is utilized?
Now: T60 2613-EKU | T23 2647-9NU | 600X 2645-9FU | HP 100LX
Past: X31 2673-Y13 | T41 2374-3HU | T22 2647-AEU
Rules of the road
Past: X31 2673-Y13 | T41 2374-3HU | T22 2647-AEU
Rules of the road
Re: Ubuntu Dual Battery Drainage Question
Pity.gator wrote:No, that option is not present in thinkpads be it Linux or in windows.
R52 1858-AKU - 2Gb RAM
PRII
PRII
-
voneschenbach
- Posts: 33
- Joined: Thu Jan 17, 2008 1:11 am
- Location: Seattle, WA
I hear (can anyone verify) it also prematurely ages the first battery drained due to the repeated deep discharges - I use a ultrabay battery with my T30 and an ultrabay battery which seems to be aging much faster than it should, so I have taken to pulling it when it gets to 15% or so...
T30 2367-RU8 | 2.2Ghz | 2GB | 120GB HD | SXGA+ | Ubuntu 8.04
X31 2672-CBU | 1.4Ghx | 2GB | 60GB HD | XGA | Ubuntu 8.04
X31 2672-CBU | 1.4Ghx | 2GB | 60GB HD | XGA | Ubuntu 8.04
You heard right ...voneschenbach wrote:I hear (can anyone verify) it also prematurely ages the first battery drained due to the repeated deep discharges - I use a ultrabay battery with my T30 and an ultrabay battery which seems to be aging much faster than it should, so I have taken to pulling it when it gets to 15% or so...
Now: T60 2613-EKU | T23 2647-9NU | 600X 2645-9FU | HP 100LX
Past: X31 2673-Y13 | T41 2374-3HU | T22 2647-AEU
Rules of the road
Past: X31 2673-Y13 | T41 2374-3HU | T22 2647-AEU
Rules of the road
-
lightweight
- Sophomore Member
- Posts: 234
- Joined: Sat Jun 30, 2007 10:56 pm
- Location: L. A.
Only for clarity, folks with tp_smapi and the ability to force_discharge (see ThinkWiki) can do this. The trick is forcing the target battery to discharge -- for example, here's a one liner one can put into root's cron to check every 10 minutes (or whatever) to check remaining capacity and then roll to the main battery. There's lots of other ways to do it of course.
Code: Select all
# rolls to BAT0 when remaining capacity on BAT1 is less than 20%. Change .2 if wanted. Swap BAT0 and BAT1 if tp_smapi thinks the ultrabay is BAT0.
awk '{if (/remaining capacity/) left=$3; if (/last full capacity/) full=$4} END {if ((left/full) < .2) system("echo 1 > /sys/devices/platform/smapi/BAT0/force_discharge")}' /proc/acpi/battery/BAT1/*
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22
Had: x22, Debian Testing/SiD, Linux 2.6.18-22
Interesting idea. I looked into the abilities supported by X32 under tp_smapi and force_discharge is not one of them. This is a good lead though.lightweight wrote:Only for clarity, folks with tp_smapi and the ability to force_discharge (see ThinkWiki) can do this. The trick is forcing the target battery to discharge -- for example, here's a one liner one can put into root's cron to check every 10 minutes (or whatever) to check remaining capacity and then roll to the main battery. There's lots of other ways to do it of course.Code: Select all
# rolls to BAT0 when remaining capacity on BAT1 is less than 20%. Change .2 if wanted. Swap BAT0 and BAT1 if tp_smapi thinks the ultrabay is BAT0. awk '{if (/remaining capacity/) left=$3; if (/last full capacity/) full=$4} END {if ((left/full) < .2) system("echo 1 > /sys/devices/platform/smapi/BAT0/force_discharge")}' /proc/acpi/battery/BAT1/*
R52 1858-AKU - 2Gb RAM
PRII
PRII
-
- Similar Topics
- Replies
- Views
- Last post
-
-
The Newest GPD Pocket with Z8750 CPU Windows 10 System or Ubuntu 16.04
by laozhu » Thu Jan 12, 2017 5:02 am » in Off-Topic Stuff - 12 Replies
- 1435 Views
-
Last post by QWERTY Andreas
Wed Feb 15, 2017 3:52 am
-
-
-
How to improve audio on a Thinkpad T530 under Ubuntu?
by wrybread » Sun Mar 05, 2017 2:14 am » in Linux Questions - 1 Replies
- 1193 Views
-
Last post by wrybread
Fri Apr 07, 2017 5:38 pm
-
-
-
SOLD: Thinkstation D30, Dual Xeon E5 2670, 64GB RECC RAM, no HDD, no GPU $699
by RMSMajestic » Thu Jan 26, 2017 7:33 pm » in Marketplace - Forum Members only - 0 Replies
- 248 Views
-
Last post by RMSMajestic
Thu Jan 26, 2017 7:33 pm
-
-
-
How Can I Tell If T400 is in "Dual Channel Mode"?
by jimwg » Sat Apr 15, 2017 3:36 am » in ThinkPad R, A, G and Z Series - 6 Replies
- 765 Views
-
Last post by shawross
Sat Apr 15, 2017 8:08 pm
-
Who is online
Users browsing this forum: axur-delmeria and 0 guests




