Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

Battery life improvement?

Old(er) Thinkpads with New(er) Intestines: X62/T50/T70/X210/X330 etc.
Post Reply
Message
Author
Thinkpad4by3
Senior ThinkPadder
Senior ThinkPadder
Posts: 2670
Joined: Sun Aug 09, 2015 9:25 am
Location: N. Bellmore, ny

Battery life improvement?

#1 Post by Thinkpad4by3 » Mon Mar 11, 2019 9:17 am

This is mainly for the X210 but if you have one of the other machines, feel free to answer. How much better is the battery life on the newer machines. I mean the batteries for these machines are getting old and weak, but also the use of new LED displays, more efficient panels, and much lower power electronics compared to what it came with. And if it is better(which I assume it is, how much better is it if you know what you originally got on one of those machines.)
Thinkpad4by3's Law of the Universe.

The efficiency of two screens equally sized with equal numbers if pixels are equal. The time spent by a 4:3 user complaining about 16:9 is proportional to the inefficiency working with a 16:9 display, therefore the amount of useful work extracted is equal.

vladisslav2011
Posts: 30
Joined: Fri Oct 12, 2018 6:33 am
Location: Velikiye Luki, Pskov, Russia

Re: Battery life improvement?

#2 Post by vladisslav2011 » Sat May 11, 2019 4:10 pm

I have a third batch x210 with 2880x1920 BOE NV126A1M-N52 LCD, NVME SSD and ar5b22 wifi/bt combo.
And I have two batteries:
One bad 9-cell chinese fake, 68Wh. Charges in ~3h, discharges in ~10-12h. It shows average rate:
4.5-5w offline, minimum backlight, light load
5.5-6.5w online , minimum backlight, light load (thunderbird, firefox with some web1.0 pages opened, some PDFs)
The other one is good 9-cell Kingsener battery declared as 94Wh, but it is 98Wh really. It charges in ~4h and discharges in about 16-18h. And it shows other average rates:
5-6w offline, minimum backlight, light load
5.5-7w online , minimum backlight, light load

The biggest power sucker here is an LCD. I'ts backlight draws about 1-1.2w at minimum and about 5.5w at maximum. And minimum brightness is about 20%. The panel itself draws about 1.6w constantly even being in dpms off state. I've tried to run the laptop with physically disconnected LCD (from motherboard connectors) and external display. It draws only 1.6w with external display off, idle and offline.
P. S. I have pathched i915 driver to force-enable PSR even if it's timings do not meet the requirement. It work very well, saves about 0.8-1w power when screen is not refreshing and does not produce any artifacts...

harryK
Sophomore Member
Posts: 172
Joined: Fri Jun 13, 2014 6:28 pm
Location: Glasgow, Scotland

Re: Battery life improvement?

#3 Post by harryK » Wed May 22, 2019 8:48 am

P. S. I have pathched i915 driver to force-enable PSR even if it's timings do not meet the requirement. It work very well, saves about 0.8-1w power when screen is not refreshing and does not produce any artifacts...


Hi,
Is your patch available somewhere? From one of the screenshots that you posted in another thread it seems that enabling PSR also allows the processor package to get to a deeper C-state. Your powertop screenshot shows PC9, whereas I have never been able to get lower than PC8...

vladisslav2011
Posts: 30
Joined: Fri Oct 12, 2018 6:33 am
Location: Velikiye Luki, Pskov, Russia

Re: Battery life improvement?

#4 Post by vladisslav2011 » Tue May 28, 2019 4:46 am

It's here:
--- a/drivers/gpu/drm/i915/intel_psr.c 2019-03-04 02:21:29.000000000 +0300
+++ b/drivers/gpu/drm/i915/intel_psr.c 2019-04-30 21:32:44.830631955 +0300
@@ -589,7 +589,7 @@
adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - 1) {
DRM_DEBUG_KMS("PSR condition failed: PSR setup time (%d us) too long\n",
psr_setup_time);
- return;
+ // return;
}

crtc_state->has_psr = true;

It allows the package to reach pc9 even with display on,but I've never seen it reaching pc10.

L29Ah
Sophomore Member
Posts: 180
Joined: Fri Sep 06, 2013 2:25 pm
Location: Montenegro

Re: Battery life improvement?

#5 Post by L29Ah » Tue May 28, 2019 5:38 am

Ok, i think you meant

Code: Select all

diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
index 84a0fb981561..53c811241979 100644
--- a/drivers/gpu/drm/i915/intel_psr.c
+++ b/drivers/gpu/drm/i915/intel_psr.c
@@ -625,9 +625,8 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
 
 	if (intel_usecs_to_scanlines(adjusted_mode, psr_setup_time) >
 	    adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - 1) {
-		DRM_DEBUG_KMS("PSR condition failed: PSR setup time (%d us) too long\n",
+		DRM_DEBUG_KMS("PSR condition failed: PSR setup time (%d us) too long, proceeding anyway\n",
 			      psr_setup_time);
-		return;
 	}
 
 	crtc_state->has_psr = true;
;)
51nb X210 with community EC mod, me_cleaner and recelled 99W*h battery; X230 with coreboot, me_cleaner and nitrocaster's FHD mod as a backup; R500 for guests; T60 just for the looks.

harryK
Sophomore Member
Posts: 172
Joined: Fri Jun 13, 2014 6:28 pm
Location: Glasgow, Scotland

Re: Battery life improvement?

#6 Post by harryK » Sun Jun 02, 2019 6:49 am

vladisslav2011 wrote:
Tue May 28, 2019 4:46 am
It's here:

Code: Select all

--- a/drivers/gpu/drm/i915/intel_psr.c	2019-03-04 02:21:29.000000000 +0300
+++ b/drivers/gpu/drm/i915/intel_psr.c	2019-04-30 21:32:44.830631955 +0300
@@ -589,7 +589,7 @@
 	    adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - 1) {
 		DRM_DEBUG_KMS("PSR condition failed: PSR setup time (%d us) too long\n",
 			      psr_setup_time);
-		return;
+	//	return;
 	}
 
 	crtc_state->has_psr = true;
It allows the package to reach pc9 even with display on,but I've never seen it reaching pc10.
Your patch doesn't work for me, but I have a different screen. The 1920x1200 screen probably doesn't support PSR at all...
Another PM related issue: could you enable L1 substates for nvme drives? I tried with a couple of drives, but if I enable it in the bios the system locks up upon restart

leedatsing
Posts: 6
Joined: Mon Dec 13, 2004 1:55 pm
Location: UK

Re: Battery life improvement?

#7 Post by leedatsing » Tue Jun 11, 2019 4:06 pm

vladisslav2011 wrote:
Sat May 11, 2019 4:10 pm
I have a third batch x210 with 2880x1920 BOE NV126A1M-N52 LCD, NVME SSD and ar5b22 wifi/bt combo.
And I have two batteries:
One bad 9-cell chinese fake, 68Wh. Charges in ~3h, discharges in ~10-12h. It shows average rate:
4.5-5w offline, minimum backlight, light load
5.5-6.5w online , minimum backlight, light load (thunderbird, firefox with some web1.0 pages opened, some PDFs)
The other one is good 9-cell Kingsener battery declared as 94Wh, but it is 98Wh really. It charges in ~4h and discharges in about 16-18h. And it shows other average rates:
5-6w offline, minimum backlight, light load
5.5-7w online , minimum backlight, light load

The biggest power sucker here is an LCD. I'ts backlight draws about 1-1.2w at minimum and about 5.5w at maximum. And minimum brightness is about 20%. The panel itself draws about 1.6w constantly even being in dpms off state. I've tried to run the laptop with physically disconnected LCD (from motherboard connectors) and external display. It draws only 1.6w with external display off, idle and offline.
P. S. I have pathched i915 driver to force-enable PSR even if it's timings do not meet the requirement. It work very well, saves about 0.8-1w power when screen is not refreshing and does not produce any artifacts...
10-12h is very impressive for a bad 9-cell 68wh battery. My brand new 6th gen X1C with a 4K screen can barely do 7 hours.
X1C i7-8650U 16G 1TB 4K
X62 i7-5500u, 16GB, 480G SXGA+
T61P T9300 SXGA+ 4GB 7K200 4965AGN
T43P 770 UXGA RAM 2.0GB 7K100+E7K60 Intel 2915

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “51nb and other modded Thinkpads”

Who is online

Users browsing this forum: No registered users and 5 guests