4 ms·
Why is phone battery going to die? Do a traffic dump and check how many thousands of requests its handling for all your personal data from every app installed.
by gsatic 3y ago
Why is phone battery going to die?
Do a traffic dump and check how many thousands of requests its handling for all your personal data from every app installed.
- saagarjha 3y agoIt’s only doing that intermittently when you’re not interacting with the device.
- kjkjadksj 3y agoDepends on the app and what permissions you set
- nwoli 3y agoIf you’re getting more than a thousand requests a day you’re gonna move to a real web host anyway
- GavinAnderegg 3y agoMy blog has been on the front page of Hacker News a couple of times with GitHub Pages. It didn't break a sweat.
- zlg_codes 3y agoThat's because you're using Microsoft's infrastructure for your site.
- GavinAnderegg 3y agoSorry, I was saying that because I thought the poster was saying "you'll need a real host (instead of a free one) if you get more than 1k visits a day". But looking back, I think "real host" meant "not a phone" and not "not a free host". So my comment here didn't really make much sense.
- saagarjha 3y agoIt’s less about requests per day and more about my website going down if my phone is in my pocket.
- deleted 3y ago[deleted]
- jeroenhd 3y agoBecause phones have all-day battery life because they turn off the radios as often as possible, sending and receiving data in short bursts. Lingering sockets are shut down for non-system services and push messages are exchanged through dedicated messaging providers with power management planning built in. It's one of the reasons running standard Linux, or even de-Googled Android, on a normal Android device can absolutely tank your battery life. Waking up the radio is expensive, and packets coming in at random moments means the work put into power saving scheduling goes down the drain.
- hilbert42 3y ago"...or even de-Googled Android, on a normal Android device can absolutely tank your battery life." Not necessarily. About eight hours ago I was having trouble with the GPS on my main phone (I cleared GNSS on GPStest app and it wasn't refreshing fast enough), so I found another in my assortment of phones that was still running and had some charge left in it and used it (it also had GPStest installed)—and I'm using it now to post this comment. It's a Huawei GR5 Honor from 2017 with original battery that I've de-Googled, and when I picked it up earlier the battery indicated 22℅ remaining which surprised me because I've not used it for some weeks. When I read your comment I thought I'd ckeck the battery and phone usage logs and I'm now even more surprised. The phone was last used on July 19 (24 days ago) and the battery drain graph shows a very gentle and almost perfectly linear decline from then (until I put it on change and started using it). Moreover, it estimates remaining battery life in standard/default power mode at 8 days 23 hours (but it's since been on change). Note: the phone was set to standard power mode during those past 24 days. If I switched to 'Power Saving' mode the estimate is 11 days 16 hours, and in 'Ultra Save' its estimate is nearly 33 days (778 hours 44 mins). Incidentally, the phone has 346 apps installed. It's amazing what battery life one can achieve when one stops both Gapps and user-installed apps yapping back to Google-Central.
- jeroenhd 3y agoA de-Googled device doing very little will have great battery life. Once you load up a chat app or two, that battery life quickly starts degrading, because every app starts polling a server for updates. Most people use some kind of app that receives push updates from the internet onto their smartphones, whether that's Facebook or WhatsApp. If you can live without those apps then you'll have a much better time, because the WiFi can actually turn itself off completely and the phone modem can fall back to a state as passive as possible. You don't need to de-Google your phone for this effect. Just disable all internet access (WiFi off/disconnected, cellular data off) and your phone can last a day longer. Works great for devices repurposed as navigation systems!