android.os.ServiceManager.getService("batterystats").isCharging();
// 判断是否充电

#MVEL表达式 #Javascript
 
 
Back to Top