监测自己能量时屏幕自动息屏 #29
Labels
Bug 🐞 故障
Confirmed bugs or reports that are very likely to be bugs
Obsolete 🕳️ 远古
Issue creater doesn't provide more specific information within a long time (often one month)
Proposal 💡 方案
Issue creater's own proposal which may be really helpful
Reinforcement ✨ 强化
Issues for higher quality of being compatible
如果手机自动息屏时间比较短,但是监测自己能量设置的时间比较长,会出现屏幕息屏,再之后手机自动锁定,收取自己能量就失败了。
改了下脚本,这一行
while (new Date() < max_time) ~sleep(180) && check();
改成
while (new Date() < max_time) { sleep(180); device.wakeUp(); check(); }
加了个点亮屏幕,这样就不会息屏收取失败了
The text was updated successfully, but these errors were encountered: