Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit c4c66d95 authored by Vachounet's avatar Vachounet Committed by Michael Bestas
Browse files

BatteryService: Add support for battery Moto Mods

Squash of:

Author: Vachounet <vachounet@live.fr>
Date:   Thu May 8 14:16:54 2019 +0200
    BatteryService: Add support for battery Moto Mods

    * This relies on the prebuilt Moto Health service being
      included device side.

    Reference: I48803eeb72499fe8459805f6ef80ef5f868f431e
    Change-Id: I41a4d5fdeb5e1f2ad7838851ad0815cef7d72980

Author: LuK1337 <priv.luk@gmail.com>
Date:   Tue Mar 2 12:47:51 2021 +0100
    BatteryManager: Mark battery moto mods constants as hidden

    Change-Id: I095a646d78c718df14cd8cd4fcde848ae3ba01df

Author: Ali B <abittin@gmail.com>
Date:   Tues Mar 2 17:40:53 2021 +0300
BatteryService: Mod: Check against all conditions

    * Change logical operators from `||` to ~&&` to achieve this.
    * Additionally, change to using supplementalOrEmergencyModOnline()
      to avoid duplicating logic.

    * This fixes battery power saver mode on some devices that were
      effected by the initial Battery mod commit.

    Change-Id: I9b2bfa26ab0c204f7a42ba6010f1f569fa7b0fd8

Change-Id: Ic4017dd7946ffcf4ab874131240136c07f3f063b
(cherry picked from commit 619042ec)
parent 13e2df9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment