文件最后提交记录最后更新时间
!1126 修改Bug * bugfix AirQulity Calc JsSvgand JsAdaptivePortalList 3 年前
!883 README 整改 * README整改 * README整改 * README整改 3 年前
!496 对适配900IDE整改上库的sample修改文件名,去掉eTS开头 * 修改文件名,去掉eTS开头 4 年前
!999 编译问题增加替换FULL SDK说明 * update readme 3 年前
!496 对适配900IDE整改上库的sample修改文件名,去掉eTS开头 * 修改文件名,去掉eTS开头 4 年前
!496 对适配900IDE整改上库的sample修改文件名,去掉eTS开头 * 修改文件名,去掉eTS开头 4 年前
!837 ability,Account,AppSample,Basic,common 等适配arm64位系统版本 * 901适配second * 901适配 3 年前
README.md

Power Management

Introduction

This sample shows how to power off a device, restart the system, and check the screen status.

Usage

  1. To power off a device, tap the Power off button, and click OK in the displayed dialog. To quit, tap Cancel in the displayed dialog.

  2. To restart the system, touch the Restart button, and click OK in the displayed dialog. To quit, tap Cancel in the displayed dialog.

  3. To check whether the screen is on or off, tap the Check screen status button. The check result will be shown in the displayed dialog.

Constraints

This sample can only be run on standard-system devices.