V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Haisea  ›  全部回复第 1 页 / 共 1 页
回复总数  3
@jzphx 红米 note4x 不用改造?
@terence4444 查了下,没有公开的 API,需要 root,然后找到 /sys/devices/xxx/xx/power_supply/battery/charging_enabled 各个机型路径可能不一样
也算是个方法
@lawfun
@program9527
实在找不到手机,可以考虑
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1428 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 17:00 · PVG 01:00 · LAX 09:00 · JFK 12:00
♥ Do have faith in what you're doing.