hippware / rn-chat

MIT License
5 stars 0 forks source link

Battery Drain #1245

Closed mstidham closed 7 years ago

mstidham commented 7 years ago

Rz:

Issue: Battery feels hot and drains quickly.

Staging Baseline:

PROD Baseline:

aksonov commented 7 years ago

I will try to reproduce it. Have you entered/exited app during your testing?

11 окт. 2017 г., в 3:53, Steve Curry notifications@github.com написал(а):

Yes, to further comment on what @bengtan said above: I start the app (phone usually starts out very close to 88.6F), wait a minute and then have someone check to see if I appear online (my presence). If my presence appears offline to others (no blue dot by my name), my phone heats up slowly (about 2 degrees per minute)... eventually getting very hot, above 101F while idle on the HS... this usually takes about 10-15 minutes, it's like the temp creeps upwards.

Now, if I open the app, wait a minute and then have someone check and my presence shows online... I don't see the same thermal event where the phone heats up. It's very strange, it's very inconsistent as well. With me showing online... I'm seeing temps of ~89F while idle on the HS. It makes it seem like this presence issue is causing the phone to heat up if users are online, yet showing an offline presence.

Hopefully, this info is helpful in some way. @aksonov I will likely be awake late tonight, sp if you have any questions, please ping me on slack... I'm happy to discuss further or test further.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

aksonov commented 7 years ago

I’ve just found one more problem in our code (22-25% of CPU) after user logged, deploying new version now..

On 11 Oct 2017, at 03:53, Steve Curry notifications@github.com wrote:

Yes, to further comment on what @bengtan https://github.com/bengtan said above: I start the app (phone usually starts out very close to 88.6F), wait a minute and then have someone check to see if I appear online (my presence). If my presence appears offline to others (no blue dot by my name), my phone heats up slowly (about 2 degrees per minute)... eventually getting very hot, above 101F while idle on the HS... this usually takes about 10-15 minutes, it's like the temp creeps upwards.

Now, if I open the app, wait a minute and then have someone check and my presence shows online... I don't see the same thermal event where the phone heats up. It's very strange, it's very inconsistent as well. With me showing online... I'm seeing temps of ~89F while idle on the HS. It makes it seem like this presence issue is causing the phone to heat up if users are online, yet showing an offline presence.

Hopefully, this info is helpful in some way. @aksonov https://github.com/aksonov I will likely be awake late tonight, sp if you have any questions, please ping me on slack... I'm happy to discuss further or test further.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hippware/rn-chat/issues/1245#issuecomment-335658119, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQpcR1Xfk_-kx9aFm6H2Eq1L1QSFcmzks5srB-NgaJpZM4PYJs7.

mstidham commented 7 years ago

I have not been able to produce heat and drain with the new version. Verified on Staging

bengtan commented 7 years ago

I suggest that Pavel should continue looking into battery usage until:

To that effect, can we delay 'Verify for Prod'-ing this ticket for at least another 24 hours or so?

thescurry commented 7 years ago

Hello Team,

I would like to give an update on the thermal signature of our latest staging build (v1.54.0). I have updated my test to something that I think will give more valuable feedback to the dev team. Here are the average results over three test runs:

Possibly this is too much data, but my intention was to exercise the app in a more real-world way. Seems like we're heading in the right direction, I haven't been able to get the app hot today... and I've tried everything I can think of. I like the idea of having Pavel continue to hunt for low hanging fruit in regards to battery drain. 👍

zavreb commented 7 years ago

Pushing this back to the top of the Sprint so @aksonov may continue his hunt.

aksonov commented 7 years ago

Was not able to find anything more today.

aksonov commented 7 years ago

Moving it to QA

zavreb commented 7 years ago

@mstidham

mstidham commented 7 years ago

@zavreb I believe this can be closed out.

bengtan commented 7 years ago

Just a reminder to everyone:

If you see suspicious battery usage again in the future, please don't hesitate to bring it up. After this experience, I think we all agree that we'd like to know about things like this sooner rather than later.

thescurry commented 7 years ago

I agree that we can both close this ticket and that we should report suspicious battery drain ASAP.

bengtan commented 7 years ago

Closed, dead, and buried. May it never happen again.