Commit 21a1dc63 authored by martin hou's avatar martin hou

fix: 取消电池状态检查的闲忙检查

parent 57c54b95
......@@ -1154,8 +1154,8 @@ Jensen.prototype.getBatteryStatus = function(seconds)
// 如果正在处理其它消息任务,则直接取消电池电量查询消息
if (this.busy())
{
Logger.info('jensen', 'dispatcher', 'cancel battery status query...');
return null;
// Logger.info('jensen', 'dispatcher', 'cancel battery status query...');
// return null;
}
return this.send(new Command(GET_BATTERY_STATUS), seconds);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment