I noticed that since 1.5 there are a few new system functions available including System.powerSource() and System.batteryState(). Both seem to return wrong data. For example batteryState() returns BATTERY_STATE_CHARGED even when battery is disconnected. powerSource() returns POWER_SOURCE_VIN when there’s only battery connected.
Maybe it’s due to my code, but before I start debugging I would like to ask if anybody else experienced such an odd behaviour.
I’m running 1.5.2 on the electron.