3 ms·
And this isn't just desktops. We're also talking about laptops, and Electron based software completely disregards battery life concerns. Chrome (technically no
by wlesieutre 11y ago
And this isn't just desktops. We're also talking about laptops, and Electron based software completely disregards battery life concerns.
Chrome (technically not Electron but it includes all the same problems) and Spotify gobble down enough power that I make a point of not using them if I'm away from my power cord.
Here I thought the gradual year-over-year percentage increases in battery technology were going to get us better battery life, but it turns out we'd rather just write shittier software.
- wishinghand 11y agoWhy does Chrome use up so much battery?
- oceanswave 11y agoIRT 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 11y 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 11y 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.