Git Product home page Git Product logo

doze-logger's Introduction

Doze Logger

Simple app thrown together to help demonstrate the effects of doze mode on your background schedulers.

App displays persisted log messages from the app that chronicle events relating to Doze and the background schedulers. Log messages can be updated by hitting "Refresh" in the options menu.

Bottom of the app allows the user to schedule the following background tasks:

  • Repeating JobScheduler Job that kicks off every 10 minutes
  • One off JobScheduler Job that requires the device to be plugged in and has a deadline of 10 minutes
  • Inexact repeating AlarmManager Alarm every 15 minutes
  • One time AlarmManager Alarm scheduled 10 minutes from now, scheduled with setExactAndAllowWhileIdle()

The user can also:

  • Pop up request to whitelist app (when app is already whitelisted will direct the user to battery optimization settings)
    • Currently the battery optimization settings require a force close to reflect changes the user makes in the dialog (caches optimization setting and doesn't reflect outside changes).
  • Cancel all of the alarms and jobs.

The app will log messages out when the device enters and exits idle mode.

doze-logger's People

Watchers

James Cloos avatar

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.