Git Product home page Git Product logo

Comments (23)

elich11 avatar elich11 commented on June 30, 2024 1

@Xalaxis Yep, its a typo, my version is 20190123.
I will add it to the optimized list and check it (although the optimized list means its more likely to be removed from the background).

Thanks for the info,
Eli

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024 1

@elich11 Darn, I'm running the same version (9.0.4), no issues 🙁 (even when not on charge) . This is so puzzling.

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

Essentially I'm wondering if the reason OnePlus made number 2 on the list are historical (their position needs adjusting), or whether there are some confirmed still-active problems on older devices that might lack recent OxygenOS revisions or have different patch trees.

A third scenario is of course that my device is somehow unique, in which case hopefully Urbandroid can point me towards any useful system information to identify why I've had no issues with sleeping behavior.

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

For reference, I'm running a OnePlus 6, OxygenOS 9.0.3 (Android 9).

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

Users discussing how these battery issues seem not to be a problem with OnePlus 6 devices.

http://disq.us/p/1yznlqu

image

from dont-kill-my-app.

elich11 avatar elich11 commented on June 30, 2024

I'm on 9.0.3 no battery optimizations on the app, and no deep battery optimizations, use the latest sleep beta - 201190123.
oxygenOS closes the app every night, currently no solution/wordaround.

Eli

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

@elich11 What device are you using?

from dont-kill-my-app.

elich11 avatar elich11 commented on June 30, 2024

@elich11 What device are you using?

@Xalaxis OP6

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

@elich11 We are running exactly the same config (device, OxygenOS version) except for the fact that I haven't excluded Sleep from battery optimizations and I'm running version 20181212 (the latest stable(?)).

Are you sure that version number is correct, it seems very strange.

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

@elich11 Yeah, if it turns out that apps excluded from optimization are being killed but those included aren't, then that's a pretty big bug.

from dont-kill-my-app.

elich11 avatar elich11 commented on June 30, 2024

@Xalaxis after one night test, this workaround works perfectly.
The app doesn't get killed!
Good work.

Eli

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

@elich11 Great!

@Artaud, Can you try to reproduce or forward on to the correct person at Urbandroid?

from dont-kill-my-app.

elich11 avatar elich11 commented on June 30, 2024

@Xalaxis after more tests, I think that what fixed it is the device is plugged in to the charger all night.

Eli

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

@elich11 Hmm, so perhaps this is somehow a (device) sleep related issue. I don't think I've seen that problem myself, but I can't risk testing this until Wednesday night. I'll give it a test then (not having the device plugged in).

from dont-kill-my-app.

elich11 avatar elich11 commented on June 30, 2024

@Xalaxis second night it works (which is unpresedented for me), I think its a legit workaround.

Eli

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

@elich11 I've just tested with my phone, Sleep was not killed during the night (when on battery). Sorry for the delay in getting back to you. Did you confirm whether the charger seemed to effect survival through the night, or whether it was the previously thought battery-optimization settings?

from dont-kill-my-app.

elich11 avatar elich11 commented on June 30, 2024

@Xalaxis Yes, I'm using it without an issue with the charger connected for about 2 weeks now.
I will run a test tonight without the charger to make sure the issue is reproduced.

from dont-kill-my-app.

elich11 avatar elich11 commented on June 30, 2024

@Xalaxis the issue reproduced without a charger, even when using the latest os version (9.0.4).

from dont-kill-my-app.

adityadroid avatar adityadroid commented on June 30, 2024

It's mid 2019 and I'm still looking for a reliable way to run my foreground location service on a Oneplus device. Any workaround? :(

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

It's mid 2019 and I'm still looking for a reliable way to run my foreground location service on a Oneplus device. Any workaround? :(

Hi @eminemoholic , we've not been having any issues with foreground processes. What's the symptoms of your problem?

from dont-kill-my-app.

adityadroid avatar adityadroid commented on June 30, 2024

It's mid 2019 and I'm still looking for a reliable way to run my foreground location service on a Oneplus device. Any workaround? :(

Hi @eminemoholic , we've not been having any issues with foreground processes. What's the >symptoms of your problem

@Xalaxis For me the notification attached with the foreground service disappears after sometime and thus the service gets killed, without triggering any of the lifecycle events.

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

@eminemoholic Have you ruled out an extreme out-of-memory state?

from dont-kill-my-app.

Xalaxis avatar Xalaxis commented on June 30, 2024

So now with the release of the Don't kill my app tester, I think we can empirically say that at least my OnePlus 6 seems to not encounter any of these issues. I'd like to once again raise the case for the OnePlus ranking to be reviewed.

App result

Screenshot_20210506-215722

from dont-kill-my-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.