Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在我正在写一个关于电池管理的项目。但是,我不知道如何获得
系统的服务信息,如蓝牙、定位服务...
我怎么知道这个?
目前没有用于电池充电水平的 API Window Phone。如果您只想知道手机是靠电池运行还是插上电源,那么您可以使用DeviceStatus.PowerSource.
Window Phone
DeviceStatus.PowerSource
这就是你所能做的。