Update readme

This commit is contained in:
2020-10-24 23:17:09 +02:00
parent 7d17efd961
commit b1e64c3b93
7 changed files with 19 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ export const BrowserModBrowserMixin = (C) => class extends C {
fullyKiosk: this.isFully,
width: window.innerWidth,
height: window.innerHeight,
battery: this.isFully ? window.fully.getBatteryLevel() : battery ? battery.level*100 : undefined,
battery_level: this.isFully ? window.fully.getBatteryLevel() : battery ? battery.level*100 : undefined,
charging: this.isFully ? window.fully.isPlugged() : battery ? battery.charging : undefined,
}});
});