Skip to content

disable battery optimization via API #113

Closed

Description

@Diapolo

AFAIK it should be somehow possible to deactivate battery optimization for the microG Services Core via an API, IMHO this should be considered an improvement for future releases.

Could REQUEST_IGNORE_BATTERY_OPTIMIZATIONS be the keyword here? I'm no Android coder at all ;).

See for an example: JavaJens/TextSecure#72 (comment)

Activity

  1. added this to the milestone on Apr 14, 2016
  2. Nutomic commented on Jul 17, 2016

    @Nutomic
    Contributor

    The battery optimization should definitely be handled better.

    I think it would also make sense to add an item for battery optimization to the "self-check" screen, using the isIgnoringBatteryOptimizations() function (on Android 6+).

  3. ale5000-git commented on Nov 4, 2016

    @ale5000-git
    Member

    Shouldn't this be closed?

  4. Nutomic commented on Nov 5, 2016

    @Nutomic
    Contributor

    Should be, but Github didn't understand the commit message right.

    @mar-v-in Please close this ;)

  5. modified the milestones: , on Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions