Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hdc 是否支持屏幕亮度设定? #7

Open
edisonchan opened this issue Sep 22, 2024 · 1 comment
Open

hdc 是否支持屏幕亮度设定? #7

edisonchan opened this issue Sep 22, 2024 · 1 comment

Comments

@edisonchan
Copy link

edisonchan commented Sep 22, 2024

在华为官方网站找不到相关信息。
然后在 forums.openharmony.cn 看到下面的内容:
https://forums.openharmony.cn/forum.php?mod=viewthread&tid=1092&extra=page%3D1&mobile=no
image

power-shell display -s 20
usage: power-shell
command list:
  setmode :    Set power mode.
  wakeup  :    Wakeup system and turn screen on.
  suspend :    Suspend system and turn screen off.
  timeout :    Override or Restore screen off time.
  help    :    Show this help menu.

实测不行,可能是因为我的设备是鸿蒙 Next 设备?抑或这个指令本身已经废弃了?

@codematrixer
Copy link
Owner

在华为官方网站找不到相关信息。 然后在 forums.openharmony.cn 看到下面的内容: https://forums.openharmony.cn/forum.php?mod=viewthread&tid=1092&extra=page%3D1&mobile=no image

power-shell display -s 20
usage: power-shell
command list:
  setmode :    Set power mode.
  wakeup  :    Wakeup system and turn screen on.
  suspend :    Suspend system and turn screen off.
  timeout :    Override or Restore screen off time.
  help    :    Show this help menu.

实测不行,可能是因为我的设备是鸿蒙 Next 设备?抑或这个指令本身已经废弃了?

问了官方,目前并没有能设置屏幕亮度的hdc命令

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants