4 ms·
IRT Battery life concerns - Electron utilizes OS based power management and will auto-sleep the app. What other battery life concerns do you have that are auto
by oceanswave 10y ago
IRT Battery life concerns - Electron utilizes OS based power management and will auto-sleep the app.
What other battery life concerns do you have that are automatically solved by another framework?
- wlesieutre 10y agoI couldn't tell you precisely why Chrome has comparatively bad battery usage, but it does: http://blog.getbatterybox.com/which-browser-is-the-most-energy-efficient-chrome-vs-safari-vs-firefox/ http://blog.getbatterybox.com/which-browser-is-the-most-ener... Even if you just leave it sitting in the background with one tab open, Chrome uses more power than Safari. I'm currently measuring an "Energy Impact" of 1.9 vs 0.1 for that test. I don't have any hard data for Electron apps, but my experience is that they're worse than their native counterparts. For example, Spotify (playing offline files) vs iTunes.
- stefano 10y agoThe slower your application, the more battery it will consume to do the same task. A JS+HTML application will be slower than a C++ application that uses the OS's native UI toolkit, and therefore will consume more battery.