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.
> .
>
|