In my SW/PWA talks, a lot of people asked about battery usage compared to native apps...
-
-
Replying to @hsablonniere @igrigorik and
same as I been asked after my PWA talk too!
1 reply 0 retweets 0 likes -
: a few things: 1. power use is hard to measure w/o a BattOr: http://www.cs.umd.edu/~schulman/battor.html …
1 reply 0 retweets 1 like -
Replying to @slightlylate @saychun_kim and
: 2. battery life is a complex function of screen time, cpu, radio, and wakeups
1 reply 0 retweets 1 like -
Replying to @slightlylate @saychun_kim and
: 3. browsers are competitive when running code. Mostly leaves wakeups
1 reply 0 retweets 1 like -
Replying to @slightlylate @saychun_kim and
: 4. ...which is why the SW design _explicitly_ gives control of lifetime to the browser
2 replies 0 retweets 1 like -
Replying to @slightlylate @saychun_kim and
: 5. many native apps use silent push messages to do data sync. These are not coalseced
1 reply 0 retweets 1 like -
Replying to @slightlylate @saychun_kim and
: 6. if you have 2 or 3 of these, they may be waking up the radio/cpu w/o user knowledge
1 reply 0 retweets 1 like -
Replying to @slightlylate @saychun_kim and
: 7. ...which is why SW push system designed to let browser decide when to run user code
1 reply 0 retweets 1 like -
Replying to @slightlylate @saychun_kim and
8. result is that we do fewer wakeups of apps. We can batch them. And can throttle.
1 reply 0 retweets 1 like
9. all of _that_ means that for overall battery life, PWAs should be same or better
-
-
Replying to @slightlylate @saychun_kim and
10. BUT, we do not have very many apples-to-apples comparisons yet.
1 reply 0 retweets 1 like -
Replying to @slightlylate @hsablonniere and
we need help from
for this likely1 reply 0 retweets 0 likes - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.