Power manager doesn't get battery status upgrade. Embedded Compact 7

Hello everybody!
We are using custom Freescale MX53 based board.
We are using FAKE battery driver as our battery driver base.
Driver succesfully built and loaded by wec7 (linked with battdrvr_mdd.lib) and I see debug messages when toggling battery.
But power manager applet knows nothing about my battery status.
Here are functions we've implemented:
BatteryPDDGetStatus
BatteryPDDGetLevels
BatteryPDDSupportsChangeNotification
And in our charger interrupt handle thread we've got:
LOCKBATTERY();
BatteryAPIGetSystemPowerStatusEx2(&gBatteryContext.st, sizeof(gBatteryContext.st), TRUE);
UNLOCKBATTERY();
PowerPolicyNotify(PPN_POWERCHANGE, 0);
We see in debug that
BatteryAPIGetSystemPowerStatusEx2
calling
BatteryPDDGetStatus(PSYSTEM_POWER_STATUS_EX2 pstatus, PBOOL pfBatteriesChangedSinceLastCall)
But nothing changing in power manager. It always shows that power supply connected and battery is charging. Even if
pstatus->ACLineStatus = AC_LINE_ONLINE;
pstatus->BatteryFlag = BATTERY_FLAG_NO_BATTERY;
//or
pstatus->ACLineStatus = AC_LINE_OFFLINE;
pstatus->BatteryFlag = BATTERY_FLAG_CRITICAL;
EDIT:
Don't know why but can't get GetSystemPowerStatusEx2  from test app. It returns general error(31). And not calling my
BatteryPDDGetStatus
Where can be the problem?

Are you sure you have the battery driver added from the catalog to the OS design?
It is under Core OS Services->Battery Driver.
Also you have to have the BSP battery driver added.
Dave

Similar Messages

  • Gnome-power-manager doesn't respond to disconnecting AC power supply

    "acpi" command always shows correct information, but gnome-power-manager doesn't.
    When computer is initially on AC power, and then I disconnect the adapter, gnome-power-manager still says hapilly that I'm on AC power, and the battery is fully charged. It only reacts when I plug adapter back. Then everything is correct. But If i disconnect it again - it shows "AC power, fully charged" again, even regarding the fact it was "80% charged" a second ago.
    WTF?

    After updating the BIOS, it's more correct, but still not always (I'm running Acer Aspire One 110).
    And, another strange issue - when I disconnect the AC adapter, and the power-manager detects that, it automatically locks the screen. (I have a option enabled that when the laptop is closed then the blank screen screensaver is activated, which locks the screen, but this is not the case)

  • Power manager doesn't display - so I can't get rid of the power change beep...

    Hi everybody,
    I just got the X200 laptop, like it very much except for the annoyingly loud beep when the system goes into stand-by. Looking trough this forum I tried many things, like changing the sound settings in regedit to 'no' and disabling the 'beep' plugin in the system settings. No luck so far. An other solution (that sounds useful) is disabling the 'beep on power changes' option in the Power Manager. But...when I open the Power Manager, it displays the welcome/info screen and then disappears! How can I get into the Power Manager??
    Hope someone can help...
    Cheers,
    Hanneke

    That's a strange one. Run Thinkvantage System Update, or just download and install most recent PM driver and software. Maybe refreshing these will give you PM back. Otherwise, I believe you may also have a setting in the BIOS for the beep. Not in front of my X100 now, but I know I have this setting on my X60s.

  • Power manager doesn't show wattage?

    Hi,
    I'm using vista 64 bit and the lenovo power manager 2 (v2.42) doesn't have the option to show wattage when on battery. Is this the norm? or am i missing something? Previous versions do not have this feature too, but when i dual booted in XP i can see the wattage. 

    I'm running Vista Business 64-Bit and Power manager 2.42.  I can see my wattage just fine.
    The problem is, you must switch to ADVANCED VIEW.  This will expand the information on the battery tab and include information such as:
    Full Charge Capacity
    Design Capacity
    Voltage
    Amperage
    Wattage (Volts * Amps)
    Manufacturer
    Serial Number
    Manufacture Date
    First Used Date
    Advanced view also enables the Battery Maintenance button.  You can use this to set charge thresholds to prolong the life of your battery.  I use 60% start and 95% stop to minimize top offs.
    Also for comparison.  I can get as low as 6 watts with a dim screen and slow processor on my x200 Tablet (LED 285nit, SL9400, 320GB 5400RPM HDD).  However, if I turn brightness up or increase my activity; 10+ watts is relatively common.

  • Power Manager: How to get rid of the explanation mark

    Hi,
    How do i get rid of the white/black explanation mark right of the Power Manager icon?
    Thanks, Jan
    --- Lenovo Thinkpad t440p (20AN-CT01WW) + SAMSUNG MZ7TD512HAGM-000L1 SSD + 16G SDRAM + 14.0FHD 1920x1080 ---

    Hello mate,
    Untick periodically show messages about battery charge capacity in the battery maintenance.
    Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it.
    ThinkPad T510 4313-CTO Windows 8 x64 - Intel Core i7-620M - NVIDIA NVS 3100M - 8GB RAM - 240GB SSD- Intel Centrino Ultimate-N 6300 - Gobi 2000.
    ThinkPad Helix 3697-CTO Windows 8.1 x64 - Intel Core i7-3667U - Intel HD Graphics 4000 - 8GB RAM- 256GB SSD - Intel Centrino Advanced-N 6205 - Ericsson C5621gw

  • Power Manager Guage: Genuine Lenovo Battery Not Attached

    I have a T60p Thinkpad  (WinXP) with a non-genuine Lenovo Battery.  Several times a session, a warning balloon pops up from the system tray Power Manager Guage that reads "Genuine Lenovo Battery Not Attached".  There is no way to close the balloon and if I try, it takes control of my browser and tries to sell me a battery.  Very heavy-handed marketing.
    Is there any way to disable this ballon, even getting into the registry?  I cannot buy a new battery and the ballon is quite distracting!
    Thank you

    I just got an aftermarket battery, which I have no choice about because that is
    our office supplier.  It is one thing to warn me ONCE about a possibly inferior
    accessory.  IT IS ENTIRELY ANOTHER MATTER TO NAG ME CONSTANTLY ABOUT IT.
    So  I have to choose between beging nagged by the "not a genuine Lenovo
    battery" message all the time, or disabling all battery charge control by exitting the application.
    Thanks a lot Lenovo.  Everyone else in the office has already gone to other brands.
    If this is the way Lenovo treats their customers, then this is the last Thinkpad I will ever
    buy too.

  • Power Manager does not recognize battery

    Recently installed updated Lenovo Thinkvantage Toolbox on my 3000 N100 0768 DLU laptop, including Power Manager.  I'm getting message that a battery is not installed, though there clearly is one.  Suggestions?????

    Thanks for taking a look at Lenovo ThinkVantage Toolbox (LTT). Please note that LTT is supported on "All ThinkPad, ThinkCentre and ThinkStation systems released after January 2004." Its predecessor, Lenovo System Toolbox is supported on all the above plus Lenovo 3000 systems released after January 2004.
    Along the same lines, Power Manager is targeted for specific ThinkPad systems. I took a quick look at the downloads page for the 3000 n100 but did not see either application on the list.
    I hope that helps.
    Stephen Streufert
    Senior Product Marketing Manager
    PC-Doctor, Inc.
    http://www.lenovothinkvantagetoolbox.com

  • Power Manager Setting To Preserve Battery Life When Using A Docking Station

    I have a Lenovo Thinkpad X220 which is about 19 months old.  When at work, the computer is in a Lenovo docking station.  At the end of the day, it is removed and any further evening use is typically on the battery.
    Yesterday, the battery symbol in the tray at the bottom of the screen displayed a red X on it and indicated that there was an "error".  I presume from this that that battery is dead and needs to be replaced.  I am surprised by the comparatively short life of this battery.
    I was thinking that perhaps the use of the powered docking station played some role in shortening the battery's life.  For example, it may have repeatedly overcharged the battery.
    Is there a Power Manager setting that will reduce the likelihood that the battery is being overcharged while in the docking station?  In the future, is it feasible to simply remove the battery before inserting it into the docking station so that this won't continue to occur?
    Thank you.
    (I did a search of the community's knowledgebase, but didn't find anything on point.)

    Hi,
    Welcome to Lenovo Community Forums!
    I’m sorry to hear that battery of your Lenovo ThinkPad X220 had undergone wear and tear and has to be replaced.
    Capacity of a battery declines as the battery ages, with the number of charge cycles and time at high temperature. Under average usage patterns your battery maintains approximately 70% of its power capacity after the first year of operation.
    Most laptops today use lithium Ion (Li-ion) batteries. Overcharging Li-ion batteries is not a problem and does not affect the battery life span. These batteries have an internal circuit to stop the charging process at full charge. This is why the Li-ion batteries are more expensive. The only way for the Li-ion battery to overcharge is if the charging system malfunctions, and then the battery will heat up while in the charger. Older laptops use Nickel-cadmium (Ni-Cd) and Nickel Metal Hydride (Ni-MH) batteries. They require more maintenance than Lithium Ion batteries. They must be fully discharged and then fully recharged so that they don't lose battery life.
    Refer this document to see the tips on how to increase the battery life.
    Hope this provided enough clarity for your query!
    Best regards,
    Mithun.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Life without Lenovo Power Manager: Any thoughts? [battery issue, charging error]

    A while back, we discovered the battery maintenance error, where the "stop charging at 90%" feature would cause the battery to only charge partially to like 50% but read that it was fully charged, and then it would turn off early. This was the thread. I know it's a BIOS issue, and I will update eventually, but the partial charge happened to me again, and it got me thinking:
    Do I really need the Power Manager?
    I use the Power Manager to configure Turbo Boost clock speed and all that, and I suppose the Turbo+ button does crank up the fan, but I can use TPFancontrol to manually control the fan, and I found that Windows power settings by itself allows me to set the clock speed however I want, using a percentage. Setting all the numbers at 45% parks the clockspeed at 1.2GHz, a good compromise for battery life and performance. The best Power Manager can do is to cycle between 700Mhz all the way up to 2.7Ghz, which throws battery life out the window.
    So, will I lose anything by just uninstalling Power Manager?

    Technically the answer is no, Power Manager is optional.  However, it is a good option for Windows 7 users. It does expose more power management to the user than the power settings under Control panel.
    Until they release the Windows 8 version and I run it for a few weeks, I won't know what to say about that environment.

  • Cant get battery status anymore

    For a week now I cant see my battery status anymore. I'm not sure if it was an upgrade or a pacman -Syu that caused it. I cant even open the adesklet systemmonitor, gkrellm shows no info and the battery in e17 has no info. When I do modprobe this is the output:
    # modprobe battery
    FATAL: Module battery not found.
    I have a ECS Green 553 laptop.
    A related issue:
    I have powersave, but powersave -s just gives me "unknown reply code to 'BatteryState' reques". This appears as a bug and a fix was issued for debian 24 may it seems. What about arch?

    Found it out. I have to boot with the battery in.. I thought udev or something would detect that there was a battery inserted ?? How can I load it if I didnt have it in when I booted?

  • R61 power manager doesn't display power schemes nor allow me to change them

    Power manager installed on my computer does not allow me to change the power schemes nor does it even display preinstalled power schemes. I assume it is currently using the default power scheme. I do not have a password for windows nor for client security solution software. So i thought that is not why it is preventing me from access.
    I am using windows xp sp2 , have installed the latest bios for windows xp, but not sure whether the think vantage technologies are the latest .
    help is much appreciated.

    Hello memman, welcome to Lenovo forums!
    Please tell us your machine type, used OS and powermanager version.
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • GNOME power management doesn't notice my laptop battery discharge

    I can use my laptop for an hour (AC unplugged), and the battery is still at 98% or so, according to the GNOME battery applet.
    It's a Toshiba U400-124, with 4 cell (I think) battery, so only lasts about 2-2.5 hours anyway.
    The power stats program in GNOME shows my battery charging OK, but then gives weird stats like 'time until charged: 3.6minutes', just after I've plugged it in.
    (Suspend and hibernate work fine.)
    Has anyone seen a similar thing before? Or can anyone point me in the right direction to see where the problem is?
    I have no idea where to start looking.
    Thanks.

    Also as a really quick fix for this until you solve the problem (I'm having the same issue) you can right click on the top panel and select 'Add to panel' and select battery charge monitor. For me this added another battery monitor which as far as I can tell is reporting the correct info (something else than 100%).
    Good luck and have a nice day.

  • Power manager always shows 97% battery remaining

    Hi,
    it always shows like that even though I plugged in AC adapter for hours. I tried to restart windows (Vista) but it's still the same.
    Any suggestion?
    Thanks!

    optimise for lifespan usually don't ever allow the battery to charge to 100%, fully charged and fully depleted are the two states of the battery least want to be in. If you select always charge to 100% and start Charging at 96%, then your battery will go to 100%, but that mode can shorten your battery life by as much 20% or more depending on usage pattern (i have tried various modes in my different thinkpad laptops, so this is from personal experience).
    I personally like to start charging say below 80 to 90 % and stop charging at 95%, but personal preference only.

  • ThinkVantage Access Connections, Power Manager, and Toolbox all crash on startup

    I have a SL 500 with factory Vista , updated to SP2 and the current versions of the thinkvantage components.
    Access Connections has always been very buggy of this machine (I guess the battery monitor has been as well), When I attempted to update them this is where I ended up.
    Also just installed new .net framework 4 as well.
    thanks for any help 
    ian
    Description:
      Stopped working
    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: pcdrcui.exe
      Problem Signature 02: 6.0.5514.59
      Problem Signature 03: 4c0eb0cb
      Problem Signature 04: wpfview
      Problem Signature 05: 6.0.5514.59
      Problem Signature 06: 4c0eb0cb
      Problem Signature 07: f8
      Problem Signature 08: 9c
      Problem Signature 09: System.IO.FileNotFoundException
      OS Version: 6.0.6002.2.2.0.256.6
      Locale ID: 1033
    Description:  Stopped working
    Problem signature:  Problem Event Name: CLR20r3  Problem Signature 01: pcdrcui.exe  Problem Signature 02: 6.0.5514.59  Problem Signature 03: 4c0eb0cb  Problem Signature 04: wpfview  Problem Signature 05: 6.0.5514.59  Problem Signature 06: 4c0eb0cb  Problem Signature 07: f8  Problem Signature 08: 9c  Problem Signature 09: System.IO.FileNotFoundException  OS Version: 6.0.6002.2.2.0.256.6  Locale ID: 1033
    Description:
      Stopped working
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: PWMUI.EXE
      Application Version: 1.0.0.0
      Application Timestamp: 4bea35c2
      Fault Module Name: KERNEL32.dll
      Fault Module Version: 6.0.6002.18005
      Fault Module Timestamp: 49e037dd
      Exception Code: e0434f4d
      Exception Offset: 0003fbae
      OS Version: 6.0.6002.2.2.0.256.6
      Locale ID: 1033
    Description:
      Stopped working
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: Access Connections.exe
      Application Version: 5.3.0.0
      Application Timestamp: 4bcff8d0
      Fault Module Name: KERNEL32.dll
      Fault Module Version: 6.0.6002.18005
      Fault Module Timestamp: 49e037dd
      Exception Code: e0434f4d
      Exception Offset: 0003fbae
      OS Version: 6.0.6002.2.2.0.256.6
      Locale ID: 1033

    Hi...
    I too have  got the same problem...
    i dont know when it started as it was running fine....earlier..
    In Access Connections the 'right click' menu on the taskbar runs just fine ..but the Access Connections program crashes on opening..
    The wireless status also runs fine
    Same is the case with Power Manager
    Shows the right battery status and the right click menu runs fine..but the Power Manager application crashes
    Like by the Lenovo toolbox too crashes
    I am using Lenovo X100e with win 7 starter edition
    i had .net framework 2 installed ...3.5 doesnt install and.net framework 4 installed after the problems started ...but still the problem hasnt stopped

  • OVM-Manager 2.2 doesn't gets updated properly.

    hi,
    i have ovm 2.2 setup consist of 4 servers in cluster.
    whenever any of the servers get rebooted.The guest vm gets restarted on the next available resource server.
    And now in the OVM-Manager side i see all the guest tht got restarted on the next available resource server shows the status as "UNKNOWN"
    OVM-Manager doesn't gets updated properly.
    currently in all my vm servers i have ovs-agent version "ovs-agent-2.3-27"
    please suggest....

    hi Avi,
    thks for your reply..
    i had upgraded ovs-agent form 2.3-27 to 2.3-31.
    i noticted one thing which commom for both ovs-agent version
    VIP doesn’t works properly using any of the ovs-agent version (2.3-27 nor 2.3-31)
    Whenever VIP is enabled it leads to two major problems.
    1)Disturbs the Server Pool HA. It works initially and then start showing unusual behavior .
    2)OVM-Manager doesn’t gets updated.
    Hence the whole setup is disturbed.
    But when only Server Pool HA is enabled & NOT VIP everything works properly .i.e. HA across the Pool & even ovm-manager gets updated time to time.
    Seems there is still some bug in the ovs-agent 2.3-31 also especially for VIP.

Maybe you are looking for

  • Overlaping buttons problem (AS 3.0)

    When you have two buttons that end up one on top of the other, is there a way to tell it to disregard the one at the bottom and just use the top one. This is what's going on: I have a stage that has an image with "hotspots" (invisible buttons all ove

  • InDesign CS5.5 crashes when generating index

    Hello everyone.  I have been working on a 232 page catalog and have been indexing as I've went along.  The catalog itself (232 pages) is a book file.  When I generated the index before it seemed to take a long time, but it always got through it and h

  • Oracle 8.0.6 to Oracle 10G Upgrade Query

    Hi, I have a customer that has Business Objects Release 5.1.x accessing an Oracle 8.0.6 database. They are planning to migrate the database to Oracle 10G Release 2.0 Will Business Objects Release 5.1.x reports run off their upgraded Oracle 10G Releas

  • One button, two actions

    I would like to be able to click on a button one time and have it open and play a movie. This movie would be overlayed on the layer that the button is on with the button still visible. Then after that movie has played, I would like to click on the sa

  • hx:commandExButton inside hx:dataTableEx doesn't work

    I have a very strange case. If I put my <hx:commandExButton> outside of <hx:dataTableEx>, when I click on the button backend (page bean) code triggers (doButton1Action method), but when I put my <hx:commandExButton> inside <hx:dataTableEx> (inside <h