// 获取电池API navigator.getBattery().then(function(battery) { if (battery.charging) { console.log("Battery is charging"); } else { console.log("Battery is discharging"); } });
友情链接: json在线解析 通晓查询 糯晒黄历 姓名打分