Power State

Hi all,

Is there an API to get the current power state (S0 … S5) from user mode?

Thanks
Anurag Prakash