【问题标题】:Is there any API to fetch the battery status information into a windows 8.1 application是否有任何 API 可以将电池状态信息提取到 Windows 8.1 应用程序中
【发布时间】:2015-08-05 12:05:49
【问题描述】:

您不能对自己的帖子投票 0

我们正在开发一个 Windows 8.1 应用程序,我们需要在其中向用户显示设备上的当前电池状态。由于我们的应用程序在访问模式下运行,因此不允许用户打开超级按钮栏并检查设备电池状态。

如果 Windows 8.1 中存在任何此类 API 来获取设备的电池状态详细信息,有人可以帮助我们吗?

有没有其他方法可以检索这些信息并在我们的应用程序中显示给用户?

【问题讨论】:

    标签: windows-8.1


    【解决方案1】:

    我想你在找Battery class

    【讨论】:

    • 电池类特定于 windows phone。但我们想要类似的 API 用于 Windows Store 8.1 应用程序。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-18
    • 2014-07-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多