Android系统SVC命令教程
2024-08-25 09:51:11
svc命令,位置在/system/bin目录下,用来管理电源控制,无线数据,WIFI
# svc
svc
Available commands:
help Show information about the subcommands
power Control the power manager
data Control mobile data connectivity
wifi Control the Wi-Fi manager # svc power
svc power
Control the power manager
usage: svc power stayon [true|false|usb|ac]
Set the 'keep awake while plugged in' setting.//设置屏幕的常亮,true保持常亮,false不保持,usb当插入usb时常亮,ac当插入电源时常亮 # svc data
svc data
Control mobile data connectivity
usage: svc data [enable|disable]
Turn mobile data on or off.//设置移动网络的数据是否启用
svc data prefer
Set mobile as the preferred data network//设置移动网络的数据优先于WIFI # svc wifi
svc wifi
Control the Wi-Fi manager
usage: svc wifi [enable|disable]
Turn Wi-Fi on or off.//设置WIFI是否启用
svc wifi prefer
Set Wi-Fi as the preferred data network//设置WIFI优先于移动网络的数据,一般应设置成这样,除非你刻意使用移动网络数据传输
最新文章
- 使用Carthage管理iOS依赖库
- AIX日常维护
- 【基础知识】.Net基础加强07 天
- ant exec
- POJ 2528 Mayor's posters(线段树区间染色+离散化或倒序更新)
- C#术语
- eclipse 最有用的10个快捷键
- Remoting
- 中国软件开发project师之痛
- stdout 编码 vim 删除左边,右边
- 【JavaScript】关于JavaScript
- UILabel的讲解
- 使用Gradle构建Android项目
- IM开发者的零基础通信技术入门(一):通信交换技术的百年发展史(上)
- Jacobi-Anger expansion
- TVTK安装
- 雷林鹏分享:jQuery EasyUI 表单 - 格式化下拉框
- Oracle Split字符串
- eclipse项目运行文件位置
- Android 模糊效果 FastBlur