Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > RE: How to know system is suspending at the critical battery level

Reply
Fix Vista Errors
Thread Tools Display Modes

RE: How to know system is suspending at the critical battery level

 
 
Hannes
Guest
Posts: n/a

 
      10-22-2009



We are in fact facing a similar issue, where a critical battery level
hibernate action does not seem to trigger the usual power event callbacks in
our drivers and software. Should we perhaps listen for a different event in
this case? Or is the event there, just very late/shortly before the shutdown?

We are all ears to a solution in this matter.

Thanks,

/ Hannes.

"leafbanana" wrote:

> I'm developing a driver under Windows XP. I always have a pending IRP
> and need to cancel it when system is entering suspension (either
> standby or hibernate). It works well in normal scenarios, except when
> battery lifetime falls to the critical level in percent. In this case,
> the driver doesn't receive a IRP_MN_QUERY_POWER or IRP_MN_SET_POWER,
> and my background monitor application doesn't receive
> WM_POWERBROADCAST.
>
> Is there any way to find out the critical battery level in percent,
> either from driver or application? If so, it will help me to decide
> when the system will suspend. Or is there any other way to solve this
> problem?
>
> Thanks in advance.
> .
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
battery level indicator/icon in navigation bar Peter Harrison Windows Vista Performance 0 12-31-2007 04:00 PM
Help! Access Denied Even To The System Owner... AAD213 Windows Vista Administration 16 12-04-2007 12:02 AM
NVIDIA GeForece 6800 and Vista w2m Windows Vista Hardware 19 06-12-2007 12:34 AM
With via AC97 sound- soloution - no volume control at Operating System level...? Ron Bartle Windows Vista Hardware 3 03-06-2007 09:05 PM
What is up with Vista's file system? Stan Shankman Windows Vista File Management 7 08-15-2006 08:59 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59