bonzoq / hniosreader

Hacker News API-Based iOS Reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Battery Consumption

bimmlerd opened this issue · comments

Brilliant app, loved it until I noticed the amount of battery drain it is causing on my iPhone 5S iOS 8.1.1... Just leaving the iPhone lying on the table while having the app open in the background, and being in an article view killed 26% of my battery in about 3h...

On the battery usage page it says Low Signal under the app name, so I guess there's a hint. Please improve this if you can, I'd love to use an OS hnclient :)

Thanks for this piece of information. I will investigate that.

Basically, this app does not run in the background. The socket connection to Firebase server might execute in the background for a limited time before iOS kills it. I'm unable to say more at the time because this seems to be an undocumented part of the Firebase SDK. However, I'm sure they go to great lengths to limit battery usage.

The reason why your battery drained could be that, as you mention, you had low cellular network signal. It basically took more energy to keep the connection alive.

As of now I'm closing this issue. If you have any more question feel free to post them here or open a new issue. Thanks for using Hacker News Client.