consts

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2026 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AcquireCausesWakeup                                int = 268435456
	FullWakeLock                                       int = 26
	LocationModeAllDisabledWhenScreenOff               int = 2
	LocationModeForegroundOnly                         int = 3
	LocationModeGpsDisabledWhenScreenOff               int = 1
	LocationModeNoChange                               int = 0
	LocationModeThrottleRequestsWhenScreenOff          int = 4
	LowPowerStandbyAllowedReasonOngoingCall            int = 4
	LowPowerStandbyAllowedReasonTempPowerSaveAllowlist int = 2
	LowPowerStandbyAllowedReasonVoiceInteraction       int = 1
	OnAfterRelease                                     int = 536870912
	PartialWakeLock                                    int = 1
	ProximityScreenOffWakeLock                         int = 32
	ReleaseFlagWaitForNoProximity                      int = 1
	ScreenBrightWakeLock                               int = 10
	ScreenDimWakeLock                                  int = 6
	ThermalStatusCritical                              int = 4
	ThermalStatusEmergency                             int = 5
	ThermalStatusLight                                 int = 1
	ThermalStatusModerate                              int = 2
	ThermalStatusNone                                  int = 0
	ThermalStatusSevere                                int = 3
	ThermalStatusShutdown                              int = 6
)
View Source
const (
	ActionDeviceIdleModeChanged         string = "android.os.action.DEVICE_IDLE_MODE_CHANGED"
	ActionDeviceLightIdleModeChanged    string = "android.os.action.LIGHT_DEVICE_IDLE_MODE_CHANGED"
	ActionLowPowerStandbyEnabledChanged string = "android.os.action.LOW_POWER_STANDBY_ENABLED_CHANGED"
	ActionLowPowerStandbyPolicyChanged  string = "android.os.action.LOW_POWER_STANDBY_POLICY_CHANGED"
	ActionPowerSaveModeChanged          string = "android.os.action.POWER_SAVE_MODE_CHANGED"
	FeatureWakeOnLanInLowPowerStandby   string = "com.android.lowpowerstandby.WAKE_ON_LAN"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL