summaryrefslogtreecommitdiff
path: root/app/src/main/java/com/draco/buoy/repositories/constants/BatterySaverSecureSettings.kt
blob: 72573a24f8e686e0d626e4e2dbd152a3aace1923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.draco.buoy.repositories.constants

/**
 * Expose secure settings hidden in the Android APIs
 */
object BatterySaverSecureSettings {
    /**
     * Parameters for low power mode
     */
    const val BATTERY_SAVER_CONSTANTS =                     "battery_saver_constants"

    /**
     * Low power mode toggle
     */
    const val LOW_POWER =                                   "low_power"

    /**
     * Re-enable low power mode on reboots / unplugs
     */
    const val LOW_POWER_STICKY =                            "low_power_sticky"

    /**
     * Battery percentage to auto-disable low power mode
     */
    const val LOW_POWER_STICKY_AUTO_DISABLE_ENABLED =       "low_power_sticky_auto_disable_enabled"
}