smartbatt: remove whitespace

master^2^2
Rob Pilling 2025-08-17 18:35:13 +01:00
parent 1eac455a29
commit c138ba003d
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
var batt;
//updates values
function getHrsFormatted(hrsLeft){
var daysLeft = hrsLeft / 24;
@ -16,7 +16,7 @@
return Math.round(hrsLeft)+"h";
}
}
//draws battery icon and fill bar
function drawBatt(){
batt =E.getBattery();
@ -37,7 +37,7 @@
items: [
{ name : "BattStatus",
get : () => {
drawBatt();
var data=require("smartbatt").get();