简体   繁体   中英

how to determine whether location service is available?

Now I am writing a project about Battery Management.However,I don't know how to get the

service information of the system,such as blue-tooth,location service...

How can I Know this?

There is currently no API for the battery charge level in Window Phone .
If you just want to know if the phone is running on battery or plugged in then you can use DeviceStatus.PowerSource .

And that is all what you can.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM