Giter Site home page Giter Site logo

No automatic refresh about simplebitcoinwidget HOT 6 CLOSED

haarp avatar haarp commented on July 29, 2024
No automatic refresh

from simplebitcoinwidget.

Comments (6)

hwki avatar hwki commented on July 29, 2024

Unfortunately a number of devices cause issues with apps running in the background, as well as android restricting it more and more with each release. I haven't tested against LineageOS though, so I can't say for certain.

Can you check that battery optimization is turned off for the app? Looks like it should be under: Settings -> Apps -> Simple Crypto Widget -> Battery -> Battery Optimization -> Pull Down Menu to Choose All Apps -> Turn Optimization Off Per App

You can also try opening the app again, and go to setting and choose a different refresh interval. This should at least reenable the work manager if it somehow got disabled.

from simplebitcoinwidget.

haarp avatar haarp commented on July 29, 2024

Thanks. I've already had disabled Battery Optimization to no avail. Changing the interval did indeed restart the updater service, but I guess it's only a matter of time until it disappears again.

It's weird, because LineageOS isn't deploying aggressive app killers like some brands do. It's fairly close to vanilla Android (Android 10 in my case)

from simplebitcoinwidget.

hwki avatar hwki commented on July 29, 2024

I agree its odd that its happening with LineageOS. This isn't the first report I've gotten about this, but usually its due to device manufacturers killing background apps. There must be some set of circumstances that causes the work to get cancelled but I'm not sure what that would be. Can I ask how many widgets you have created?

from simplebitcoinwidget.

haarp avatar haarp commented on July 29, 2024

Can I ask how many widgets you have created?

just two

from simplebitcoinwidget.

hwki avatar hwki commented on July 29, 2024

If you see it happen again, I'm curious what standby bucket android put the app in. You can check this in Settings > System > Developer Options > Standby apps. Might tell us if android thinks the app is running too much in the background and restricting it.

from simplebitcoinwidget.

haarp avatar haarp commented on July 29, 2024

Standby state is EXEMPTED (due to Battery Optimizations being disabled?)

Right now the widgets seems to still be updating without problems. Will check again when it stops.

Thanks!

from simplebitcoinwidget.

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.