Power manager, disable "non genuine" battery warning?

X60/X61 series specific matters only.
Message
Author
pgoelz
Junior Member
Junior Member
Posts: 271
Joined: Thu Jul 26, 2007 1:04 pm
Location: Rochester MI USA

Power manager, disable "non genuine" battery warning?

#1 Post by pgoelz » Fri Sep 25, 2009 5:08 am

I just installed an aftermarket $35 Ebay battery. It works fine (although it is almost 20% lower capacity than advertised). However, the Thinkpad battery manager detects it as a non-IBM battery and pops up a warning at every opportunity. Does anyone know if the warning can be disabled? It goes away on its own but it is annoying.

Thanks,
Paul
Last edited by pgoelz on Mon Sep 28, 2009 5:10 am, edited 1 time in total.
Paul Goelz
www.pgoelz.com
Rochester MI USA

Ken Fox
Senior Member
Senior Member
Posts: 838
Joined: Thu Dec 14, 2006 1:52 am
Location: Idaho, USA

Re: Power manager, disable "non genuine" battery warning?

#2 Post by Ken Fox » Sun Sep 27, 2009 11:14 pm

pgoelz wrote:I just installed an aftermarket $35 Ebay battery. It works fine (although it is almost 20% lower capacity than advertised). However, the Thinkpad battery manager detects it as a non-IBM battery and pops up a warning at every opportunity. Does anyone know if the warning can be disabled? It goes away on its own but it is annoying.

Thanks,
Paul
You may have to uninstall TV Power Manager software. I believe there are other ways to follow the condition of one's battery, probably just through Windows (especially Windows 7) however I've not explored them. Otherwise, power manager is fairly useless and duplicative of what Windows offers itself.

For what it is worth I've been running Windows 7 on a couple of Thinkpads recently (not this one that I'm typing on, unfortunately) and although I have installed a few beta TV applications, I have not missed the overwhelming majority of them.
Ken Fox

pgoelz
Junior Member
Junior Member
Posts: 271
Joined: Thu Jul 26, 2007 1:04 pm
Location: Rochester MI USA

Re: Power manager, disable "non genuine" battery warning?

#3 Post by pgoelz » Mon Sep 28, 2009 5:10 am

Thanks Ken, that is pretty much what I figured. And yes, Power Manager does duplicate the Windows power manager. But it also adds some extra features which I like, such as all the battery information. The warning isn't all THAT obtrusive.... it goes away in a few seconds. It is just annoying having what amounts to a marketing / CYA message in my face every time I power up.

Interestingly, as soon as I installed it I started having display driver crashes. That stopped after I went to the Intel site and installed the latest Intel driver (later than the one on the Lenovo site). It seemed like power manager was crashing the video driver when it changed speeds/modes.... it only did it when attempting to play videos, not during normal operation.

Paul
Paul Goelz
www.pgoelz.com
Rochester MI USA

pkiff
Moderator
Moderator
Posts: 1426
Joined: Wed May 05, 2004 9:17 am
Location: Toronto, Canada

Re: Power manager, disable "non genuine" battery warning?

#4 Post by pkiff » Thu Oct 01, 2009 12:28 pm

pgoelz wrote:The warning isn't all THAT obtrusive.... it goes away in a few seconds. It is just annoying having what amounts to a marketing / CYA message in my face every time I power up.
I also find the warning annoying and intrusive. You can revert to using the standard Windows battery gauge without uninstalling by going into the Battery Manager options and clearing the check mark to display icon in tray. That is what I'm doing now. I think that without the Lenovo software installed, you may lose the option of controlling exactly at what percentage drain you want to start/stop charging, and that is the main reason I've kept it.

I have been waiting for NotebookBatteryInfo to be updated in the hopes that I will be able to use it in place of the Lenovo battery gauge until Lenovo fixes this problem in their software:
http://www.batteryinfo.co.cc/

I poked around a bit in the registry and in some of the program libraries, but was unable to find a tweak that would disable the "not a genuine" Lenovo battery warning.

Phil.
W520 (dual-boot Windows 10/Ubuntu 15) · X61 Tablet SXGA+ · T60p UXGA · Legacy: X60T, 600X, 770Z
Thinkpad Media Centre: X61T running XBMC with Broadcom Crystal HD BCM970015, Creative X-Fi Surround 5.1 plugged into Cambridge Audio Sonata AR30 receiver

rrtdj
Posts: 3
Joined: Fri Oct 17, 2008 3:56 am
Location: Los Angeles, USA

Re: Power manager, disable "non genuine" battery warning?

#5 Post by rrtdj » Tue Jul 06, 2010 8:06 am

It is possible to patch the toolbar, so that it does not show the warning. Files:
PWMTR32V.DLL
PWMTR64V.DLL

Located around:
C:\Program Files (x86)\ThinkPad\Utilities

This is an instruction for a system programmer, and even for those - please use this on your own risk.
If the file is patched improperly, then Explorer will constantly crash until the file is removed or reverted.

Power Manager Version 3.05
PWMTR64V.DLL (64-bit version):
Locate the following bytes:
74 0D BF 09 00 00 00
And replace with:
EB 0D BF 09 00 00 00

Power Manager Version 3.25 (they have changed a few things)
PWMTR64V.DLL (64-bit version):
Locate:
74 0B 8D 7A 08 45 33 C0
Replace with:
EB 0B 8D 7A 08 45 33 C0

Both versions 3.05 and 3.25, 32-bit:
PWMTR32V.DLL (32-bit version):
Locate the sequence of bytes:
74 0A BD 09 00 00 00
And replace with:
EB 0A BD 09 00 00 00

Version 3.61 patch:

64-bit version, PWMTR64V.DLL
Bytes:
BA 01 00 00 00 85 C0 74
Replace the 74 byte to EB, so that the sequence looks like:
BA 01 00 00 00 85 C0 EB


32-bit version, PWMTR32V.DLL
Bytes:
85 C0 74 0A BD 09 00 00 00
Replace the 74 byte to EB, so that the sequence looks like:
85 C0 EB 0A BD 09 00 00 00



I don't know if there are side effects that affect a battery time calculation or power regulation. But during the time I've been using it (more than a year), no side effects were found.

Lenovo: please add a check box "Do not show a warning sign again". Just because of the warning people most probably will remove the software and not use it, rather than buying a genuine battery.
Last edited by rrtdj on Tue Jul 12, 2011 3:07 pm, edited 4 times in total.

ArtShapiro
Senior Member
Senior Member
Posts: 639
Joined: Fri Oct 13, 2006 12:48 am
Location: Lake Forest, CA

Re: Power manager, disable "non genuine" battery warning?

#6 Post by ArtShapiro » Tue Jul 06, 2010 4:09 pm

rrtdj wrote: For 64-bit version, locate the sequence of bytes: ...
I'm not suffering from this issue, but have to ask how in the world you deduced the override. That's quite impressive.

Art

rrtdj
Posts: 3
Joined: Fri Oct 17, 2008 3:56 am
Location: Los Angeles, USA

Re: Power manager, disable "non genuine" battery warning?

#7 Post by rrtdj » Tue Jul 06, 2010 7:10 pm

ArtShapiro wrote:
I'm not suffering from this issue, but have to ask how in the world you deduced the override. That's quite impressive.

Art
By doing reverse engineering, and going backwards from the "non-genuine" message - one can see by which factors it is triggered. There is some complicated formula in place and a comparison - if the result doesn't match - it returns a code of 9 (which afterwards is compared against, and a message displayed). So changing the above bytes will avoid returning code 9.

The message and a permanently visible black exclamation mark are both removed after this patch.

Atreides
Junior Member
Junior Member
Posts: 284
Joined: Sun Apr 19, 2009 7:38 pm
Location: Washington, DC

Re: Power manager, disable "non genuine" battery warning?

#8 Post by Atreides » Mon Jul 12, 2010 11:16 pm

rrtdj wrote:
By doing reverse engineering, and going backwards from the "non-genuine" message - one can see by which factors it is triggered. There is some complicated formula in place and a comparison - if the result doesn't match - it returns a code of 9 (which afterwards is compared against, and a message displayed). So changing the above bytes will avoid returning code 9.

The message and a permanently visible black exclamation mark are both removed after this patch.
I am amazed you were able to figure this out, I had searched the internet for a fix for quite some time and the only "solution" I found was to simply uninstall Lenovo's power manager.

I had my doubts at first (editing a .dll is not something to be taken lightly) but everything is working just perfectly. I had explorer crash on me (as you warned) soon after I did it, but since restarting I have yet to have that issue return.

This is seriously impressive, you're a genius. Mad props.
Current: X1 Carbon Gen 3 - 20BT-S1LV00 - i5-5300U - 8GB DDR3L - WQHD Touch - 256GB SSD
Previous: X60s - 1702-3QU | X200s - 7466-44U | X230 - 2325-2RU | X240sx - 20AK-A00RHH
Projects: 560 - 2640-2OU | 600E - 2645-3AU | T21 2647-6AU | X60t - 6366-L6U

opticalmouse
Posts: 8
Joined: Thu Jun 10, 2010 1:07 pm
Location: Dulovo, Bulgaria / Istanbul, Turkey

Re: Power manager, disable "non genuine" battery warning?

#9 Post by opticalmouse » Tue Jul 20, 2010 4:36 am

It works! Thanks a lot rrtdj!!!
IBMX60s L2400 1.6Ghz, 3 RAM, 250 Gb, Win7
DELL PRECISION T7400 Intel Xeon x5472, 8 RAM, nVIDIA Quad FX5600, 2x146, Win x64
TOSHIBA A100 Intel C2D T7400, 3 RAM, 250 Gb, Win7
IBMX41 MLV 758 1.5GHz, 512 RAM, 40Gb, WinXP
IBMR32 1.8-GHz Pentium4, 1 RAM, 60Gb, WinXP
hp nc4010 1.6GHz Pentium M, 1 RAM, 40Gb, WinXP

avdim
Posts: 6
Joined: Mon Jan 18, 2010 6:06 am
Location: Ampfing, Germany

Re: Power manager, disable "non genuine" battery warning?

#10 Post by avdim » Mon Jul 26, 2010 4:05 pm

rrtdj, maybe you can also figure out how to disable battery stretch notification when battery is on 20%? The feature seems to be useless for me at least and rather annoying.

pkiff
Moderator
Moderator
Posts: 1426
Joined: Wed May 05, 2004 9:17 am
Location: Toronto, Canada

Re: Power manager, disable "non genuine" battery warning?

#11 Post by pkiff » Wed Jul 28, 2010 11:03 pm

avdim wrote:battery stretch notification
? I don't know what this is. Maybe it's a translation issue. Can you explain further?
W520 (dual-boot Windows 10/Ubuntu 15) · X61 Tablet SXGA+ · T60p UXGA · Legacy: X60T, 600X, 770Z
Thinkpad Media Centre: X61T running XBMC with Broadcom Crystal HD BCM970015, Creative X-Fi Surround 5.1 plugged into Cambridge Audio Sonata AR30 receiver

avdim
Posts: 6
Joined: Mon Jan 18, 2010 6:06 am
Location: Ampfing, Germany

Re: Power manager, disable "non genuine" battery warning?

#12 Post by avdim » Fri Jul 30, 2010 6:24 pm

Help gives the following topic.
  • This section describes the Battery Stretch settings available in both Basic and Advanced modes.
    Battery Stretch gives you extra battery life when you need it most. It allows you to disable selected devices in your computer to gain extra battery life.
    Battery Stretch can be activated in one of the following three ways:
    While in Basic Mode of Power Manager, click Settings button present in Power Use tab or switch to Advanced Mode and click the View Battery Settings hyperlink present in Power Plan tab. A Battery Stretch panel will be displayed. Select Enable Battery Stretch option to activate battery stretch in your computer.
    Press Fn + F3(Fn + End) to view Power Plan menu.
    Right click on Power Manager’s battery gauge displayed on taskbar to select Activate Battery Stretch.
    Once Battery Stretch is activated, increase in battery life is estimated based on the selections in Battery Stretch panel and is displayed as Estimated increase in battery life. This value varies based on computer usage and current battery remaining time. The value thus estimated is the minimum amount of time by which battery life will be increased.

The problem is that it always popup notification in case this feature is disabled. And I dont't want to enable it because NONE of sugested power saving options really make any sense. It seems to wake up on 25 or 20 %. The icon is ugly even if stretch is on. And there is no setting to chanhe threashold etc. The simpleast way will be turn it on on 3% instead of 25%. In that case it will never pop up.

dcay
Posts: 1
Joined: Thu Nov 25, 2010 12:10 am
Location: Sugar Land, TX

Re: Power manager, disable "non genuine" battery warning?

#13 Post by dcay » Thu Nov 25, 2010 1:45 am

Hi rrtdj,
I too am amazed at your ability here. Apparently Lenovo has not figured out that this message is little more than malware/nagware/adware and fixed this message. I have the current power manager version 3.30 and the above fix does not work, at least my hex editor does not find the number sequence. Can you offer any advise for version 3.30?
David

pgoelz
Junior Member
Junior Member
Posts: 271
Joined: Thu Jul 26, 2007 1:04 pm
Location: Rochester MI USA

Re: Power manager, disable "non genuine" battery warning?

#14 Post by pgoelz » Thu Nov 25, 2010 6:39 am

rrtdj wrote: Lenovo: please add a check box "Do not show a warning sign again". Just because of the warning people most probably will remove the software and not use it, rather than buying a genuine battery.
Or better still, remove the incentive to use knockoff batteries. Make the genuine batteries more reliable and/or longer lived and/or less expensive. I would very much prefer to use genuine batteries but not at the price per month of life that I have experienced.

Paul
Paul Goelz
www.pgoelz.com
Rochester MI USA

ajurjans
Posts: 1
Joined: Sun Jul 03, 2011 3:18 pm
Location: Riga, Latvia

Re: Power manager, disable "non genuine" battery warning?

#15 Post by ajurjans » Sun Jul 03, 2011 4:30 pm

Hey!
At first, my apologies for bringing up a topic this old.
I have, however, probably just done a mistake, which will be regretted every time I use my x60s.
I had my Thinkpad PowerManager 3.25 patched according to this topic - worked great. Today I was updating some of the software, and the Power manager was updated to the latest 3.59, which, of course, spoiled everything.
Are there any updates to this thread? I've been googling for a few hours now, can't find a thing.
I do not want to downgrade, as I prefer newer software to older, of course. But is that the only cure? Is everyone with a non-genuine battery using the old PM or suffering from the nag screen?
Thanks!

rrtdj
Posts: 3
Joined: Fri Oct 17, 2008 3:56 am
Location: Los Angeles, USA

Re: Power manager, disable "non genuine" battery warning?

#16 Post by rrtdj » Tue Jul 12, 2011 3:01 pm

Version 3.61 patch:

64-bit version, PWMTR64V.DLL
Bytes:
BA 01 00 00 00 85 C0 74
Replace the 74 byte to EB, so that the sequence looks like:
BA 01 00 00 00 85 C0 EB


32-bit version, PWMTR32V.DLL
Bytes:
85 C0 74 0A BD 09 00 00 00
Replace the 74 byte to EB, so that the sequence looks like:
85 C0 EB 0A BD 09 00 00 00

CJR
Posts: 14
Joined: Mon Apr 21, 2008 5:19 pm
Location: Boston, MA

Re: Power manager, disable "non genuine" battery warning?

#17 Post by CJR » Thu Jul 14, 2011 5:15 pm

This is a great thread, and exactly what I'm looking for, but this looks like it's geared towards only the version of the power manager software from Windows 7. Does anyone know the right file to patch (or what to patch, for that matter) for XP, which is version 1.99i? Thanks in advance for any help, and to rrtdj for his ideas.

RealBlackStuff
Admin
Admin
Posts: 17462
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

Re: Power manager, disable "non genuine" battery warning?

#18 Post by RealBlackStuff » Fri Jul 15, 2011 4:40 am

I haven't tried it yet, but in XP you need to check in:
C:\Program Files\ThinkPad\Utilities\PWRMGRTR.DLL and search for the same string.
Assuming you only need to replace the 74 with EB here as well, and you should be done.
Don't have a 'fake' battery to test this out.
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

CJR
Posts: 14
Joined: Mon Apr 21, 2008 5:19 pm
Location: Boston, MA

Re: Power manager, disable "non genuine" battery warning?

#19 Post by CJR » Sun Jul 17, 2011 8:54 am

Hmmm....found that file, but none of the byte sequences seem to match the byte sequences in the posts about the Windows 7 versions. If anyone does come up with the proper byte sequence for XP, I'd be very much obliged.

RealBlackStuff
Admin
Admin
Posts: 17462
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

Re: Power manager, disable "non genuine" battery warning?

#20 Post by RealBlackStuff » Sun Jul 17, 2011 10:31 am

Search for: 85 C0 74 0A BD 09 00 00 00
I found it in the line starting at 00005F28
(32-bit XP-Pro)
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

CJR
Posts: 14
Joined: Mon Apr 21, 2008 5:19 pm
Location: Boston, MA

Re: Power manager, disable "non genuine" battery warning?

#21 Post by CJR » Tue Jul 19, 2011 4:04 pm

That worked, thanks! Rebooted into safe mode, edited the file, and now my cheapo-battery indicator is gone. :D

shpitz461
Posts: 2
Joined: Sat Jul 09, 2011 11:19 pm
Location: Dallas, TX

Re: Power manager, disable "non genuine" battery warning?

#22 Post by shpitz461 » Sat Aug 20, 2011 12:00 am

Great info rrtdj!!

Here's a little tool I created for patching the DLL: Patcher

It tries to automatically find the location of the DLL using the path found under the key
[HKLM\SYSTEM\CurrentControlSet\services\PwmEWSvc]\ImagePath

You can also supply your own path in the 1st parameter
e.g. PM_Patcher.exe c:\temp

I patched an x61s running PM v3.62 on win7 x64, it works great!

hakemake
Posts: 2
Joined: Wed Aug 31, 2011 11:25 pm
Location: Oulu, Finland

Re: Power manager, disable "non genuine" battery warning?

#23 Post by hakemake » Wed Aug 31, 2011 11:35 pm

This is not working XP version 1.99i, does someone to do the same Patch version 1.99i?

RealBlackStuff
Admin
Admin
Posts: 17462
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

Re: Power manager, disable "non genuine" battery warning?

#24 Post by RealBlackStuff » Thu Sep 01, 2011 5:19 am

Update your (outdated) version...
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

dr_st
Senior ThinkPadder
Senior ThinkPadder
Posts: 6642
Joined: Sat Oct 29, 2005 6:20 am

Re: Power manager, disable "non genuine" battery warning?

#25 Post by dr_st » Thu Sep 01, 2011 8:19 am

I was under the impression that 1.99 is the latest version of Power Manager for XP.
Current: X220 4291-4BG, T410 2537-R46, T60 1952-F76, T60 2007-QPG, T42 2373-F7G
Collectibles: T430s (IPS FHD + Classic Keyboard), X32 (IPS Screen)
Retired: X61 7673-V2V, A31p w/ Ultrabay Numpad
Past: Z61t 9440-A23, T60 2623-D3U, X32 2884-M5U

hakemake
Posts: 2
Joined: Wed Aug 31, 2011 11:25 pm
Location: Oulu, Finland

Re: Power manager, disable "non genuine" battery warning?

#26 Post by hakemake » Thu Sep 01, 2011 11:50 pm

Version 3.62 is available only to Vista/Win7.

The latest version of XP is 1.99i.

RealBlackStuff
Admin
Admin
Posts: 17462
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

Re: Power manager, disable "non genuine" battery warning?

#27 Post by RealBlackStuff » Fri Sep 02, 2011 8:40 am

Actually it's 1.99j.
My (XP-Pro 32-bit) version (as referred to above) is 1.95.
I have no intention yet to update just for this, sorry.
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

ArtShapiro
Senior Member
Senior Member
Posts: 639
Joined: Fri Oct 13, 2006 12:48 am
Location: Lake Forest, CA

Re: Power manager, disable "non genuine" battery warning?

#28 Post by ArtShapiro » Fri Sep 16, 2011 6:32 pm

rrtdj wrote:Version 3.61 patch:
Alas, this might turn into a neverending support burden but: has anyone deduced the appropriate hex string for the relatively new 3.62 version? It unfortunately seems to not conform to the 3.61 code.

Art

bugmn
Freshman Member
Posts: 115
Joined: Tue Jun 14, 2011 9:03 am
Location: Italy.

Re: Power manager, disable "non genuine" battery warning?

#29 Post by bugmn » Fri Sep 16, 2011 7:45 pm

A few posts up someone posted a patch for 3.62 that I can confirm works

ArtShapiro
Senior Member
Senior Member
Posts: 639
Joined: Fri Oct 13, 2006 12:48 am
Location: Lake Forest, CA

Re: Power manager, disable "non genuine" battery warning?

#30 Post by ArtShapiro » Fri Sep 16, 2011 9:43 pm

bugmn wrote:A few posts up someone posted a patch for 3.62 that I can confirm works
My T61 happens to be the 32 bit Windows 7; the neat little utility must only be for 64 bit as it doesn't find anything.

Art

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Thinkpad X6x Series incl. X6x Tablet”

Who is online

Users browsing this forum: flyingfishfinger and 6 guests