开发者

How do I get estimated battery life on Windows Phone 7

Back in the good ol' Windows Mobile day (CE based) one good get a rough estimate of battery life using the CE CoreDll.dll. Well sometimes at least depending on your hardware. This was exposed via GetSystemPowerStatusEx.

WP7 be开发者_C百科ing SilverLight based I'm assuming these sorts of Interop approaches will no longer work. Is there an API that exposes power status info? I've done a quick search and browse but didn't see anything.


Currently there is no API method that will return the battery life.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜