When the application first starts, there is no problem, I get the battery information, but if I refresh a few times, I start to get time out after a while.
requestBatteryInfo method waits for 25 seconds and gives time error, when I exit the application, zombie processes remain in the task manager and the application does not kill properly.
TypeError: Cannot read property 'getBatteryStatusAsync' of null
at eval (webpack:///./src/background/headset/Jabra.js?:158:33)
TypeError: Cannot read property 'getBatteryStatusAsync' of null
at eval (webpack:///./src/background/headset/Jabra.js?:158:33)
TypeError: Cannot read property 'getBatteryStatusAsync' of null
at eval (webpack:///./src/background/headset/Jabra.js?:158:33)
sometimes it can also point to the isBatterySupportedAsync method
hi i am using electron js
while using
When the application first starts, there is no problem, I get the battery information, but if I refresh a few times, I start to get time out after a while.
requestBatteryInfo
method waits for 25 seconds and gives time error, when I exit the application, zombie processes remain in the task manager and the application does not kill properly.sometimes it can also point to the isBatterySupportedAsync method