to top
Datalogic APIs
public static class

EnterpriseBatterySaverProfiles.Profile

extends Object
java.lang.Object
   ↳ com.datalogic.device.configuration.EnterpriseBatterySaverProfiles.Profile

Class Overview

The profile class.

Summary

Nested Classes
class EnterpriseBatterySaverProfiles.Profile.Builder The builder for the Profile. 
enum EnterpriseBatterySaverProfiles.Profile.Location The location of the profile. 
Constants
int BACKGROUND_PROCESS_LIMIT_0 Constant to set the background process limit to have no background processes.
int BACKGROUND_PROCESS_LIMIT_1 Constant to set the background process limit to have at most one background process.
int BACKGROUND_PROCESS_LIMIT_2 Constant to set the background process limit to have at most two background processes.
int BACKGROUND_PROCESS_LIMIT_3 Constant to set the background process limit to have at most three background processes.
int BACKGROUND_PROCESS_LIMIT_4 Constant to set the background process limit to have at most four background processes.
int BACKGROUND_PROCESS_LIMIT_STANDARD Constant to disable the background process limit and use the standard limit.
int DOWNLOAD_RATE_LIMIT_128K Constant to apply a download-rate limit of 128 Kbps.
int DOWNLOAD_RATE_LIMIT_15M Constant to apply a download-rate limit of 15 Mbps.
int DOWNLOAD_RATE_LIMIT_1M Constant to apply a download-rate limit of 1 Mbps.
int DOWNLOAD_RATE_LIMIT_256K Constant to apply a download-rate limit of 256 Kbps.
int DOWNLOAD_RATE_LIMIT_5M Constant to apply a download-rate limit of 5 Mbps.
int DOWNLOAD_RATE_LIMIT_NONE Constant to disable the download-rate limit.
int FREQUENCY_LIMIT_AGGRESSIVE Constant for high level of frequency limit: the frequency is limited to the minimum value.
int FREQUENCY_LIMIT_INTERMEDIATE Constant for intermediate level of frequency limit: the frequency is limited to the mean value between the minimum and maximum frequencies.
int FREQUENCY_LIMIT_NONE Constant for no frequency limit.
Public Constructors
Profile()
Public Methods
boolean getAdaptiveBrightness()
Returns whether the adaptive brightness is enabled.
List<String> getApplicationsBlacklist()
Returns the list of blacklisted applications.
int getBackgroundProcessLimit()
Returns the background process limit.
int getCpuFrequencyLimit()
Returns the CPU frequency limit.
boolean getDisable5G()
Returns whether the 5G is disabled.
boolean getDisableBluetooth()
Returns whether Bluetooth is disabled.
boolean getDisableGoldCluster()
Returns whether the gold cluster is disabled.
boolean getDisableLocation()
Returns whether the Location service is disabled.
boolean getDisableNfc()
Returns whether the NFC is disabled.
boolean getDisableTelephony()
Returns whether the Telephony service is disabled.
boolean getDisableWifi()
Returns whether Wi-Fi is disabled.
boolean getDontKeepActivities()
Returns whether activities are not kept.
int getDownloadRateLimitKbps()
Returns the download rate limit in Kbps.
int getGpuFrequencyLimit()
Returns the GPU frequency limit.
boolean getHalvesBrightnessAdjustment()
Returns whether the halves brightness adjustment is enabled.
EnterpriseBatterySaverProfiles.Profile.Location getInstallLocation()
Returns the profile's install location.
boolean getMobileDataAlwaysActive()
Returns whether the mobile data is always active.
String getName()
Returns the profile name.
boolean getUsePowerSaveGovernor()
Returns whether the power save governor is used.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int BACKGROUND_PROCESS_LIMIT_0

Added in revision 44

Constant to set the background process limit to have no background processes.

Constant Value: 0 (0x00000000)

public static final int BACKGROUND_PROCESS_LIMIT_1

Added in revision 44

Constant to set the background process limit to have at most one background process.

Constant Value: 1 (0x00000001)

public static final int BACKGROUND_PROCESS_LIMIT_2

Added in revision 44

Constant to set the background process limit to have at most two background processes.

Constant Value: 2 (0x00000002)

public static final int BACKGROUND_PROCESS_LIMIT_3

Added in revision 44

Constant to set the background process limit to have at most three background processes.

Constant Value: 3 (0x00000003)

public static final int BACKGROUND_PROCESS_LIMIT_4

Added in revision 44

Constant to set the background process limit to have at most four background processes.

Constant Value: 4 (0x00000004)

public static final int BACKGROUND_PROCESS_LIMIT_STANDARD

Added in revision 44

Constant to disable the background process limit and use the standard limit.

Constant Value: -1 (0xffffffff)

public static final int DOWNLOAD_RATE_LIMIT_128K

Added in revision 44

Constant to apply a download-rate limit of 128 Kbps.

Constant Value: 131072 (0x00020000)

public static final int DOWNLOAD_RATE_LIMIT_15M

Added in revision 44

Constant to apply a download-rate limit of 15 Mbps.

Constant Value: 15728640 (0x00f00000)

public static final int DOWNLOAD_RATE_LIMIT_1M

Added in revision 44

Constant to apply a download-rate limit of 1 Mbps.

Constant Value: 1048576 (0x00100000)

public static final int DOWNLOAD_RATE_LIMIT_256K

Added in revision 44

Constant to apply a download-rate limit of 256 Kbps.

Constant Value: 262144 (0x00040000)

public static final int DOWNLOAD_RATE_LIMIT_5M

Added in revision 44

Constant to apply a download-rate limit of 5 Mbps.

Constant Value: 5242880 (0x00500000)

public static final int DOWNLOAD_RATE_LIMIT_NONE

Added in revision 44

Constant to disable the download-rate limit.

Constant Value: -1 (0xffffffff)

public static final int FREQUENCY_LIMIT_AGGRESSIVE

Added in revision 44

Constant for high level of frequency limit: the frequency is limited to the minimum value.

Constant Value: 2 (0x00000002)

public static final int FREQUENCY_LIMIT_INTERMEDIATE

Added in revision 44

Constant for intermediate level of frequency limit: the frequency is limited to the mean value between the minimum and maximum frequencies.

Constant Value: 1 (0x00000001)

public static final int FREQUENCY_LIMIT_NONE

Added in revision 44

Constant for no frequency limit.

Constant Value: 0 (0x00000000)

Public Constructors

public Profile ()

Added in revision 44

Public Methods

public boolean getAdaptiveBrightness ()

Added in revision 44

Returns whether the adaptive brightness is enabled.

public List<String> getApplicationsBlacklist ()

Added in revision 44

Returns the list of blacklisted applications.

public int getBackgroundProcessLimit ()

Added in revision 44

Returns the background process limit.

public int getCpuFrequencyLimit ()

Added in revision 44

Returns the CPU frequency limit.

public boolean getDisable5G ()

Added in revision 44

Returns whether the 5G is disabled.

public boolean getDisableBluetooth ()

Added in revision 44

Returns whether Bluetooth is disabled.

public boolean getDisableGoldCluster ()

Added in revision 44

Returns whether the gold cluster is disabled.

public boolean getDisableLocation ()

Added in revision 44

Returns whether the Location service is disabled.

public boolean getDisableNfc ()

Added in revision 44

Returns whether the NFC is disabled.

public boolean getDisableTelephony ()

Added in revision 44

Returns whether the Telephony service is disabled.

public boolean getDisableWifi ()

Added in revision 44

Returns whether Wi-Fi is disabled.

public boolean getDontKeepActivities ()

Added in revision 44

Returns whether activities are not kept.

public int getDownloadRateLimitKbps ()

Added in revision 44

Returns the download rate limit in Kbps.

public int getGpuFrequencyLimit ()

Added in revision 44

Returns the GPU frequency limit.

public boolean getHalvesBrightnessAdjustment ()

Added in revision 44

Returns whether the halves brightness adjustment is enabled.

public EnterpriseBatterySaverProfiles.Profile.Location getInstallLocation ()

Added in revision 44

Returns the profile's install location.

public boolean getMobileDataAlwaysActive ()

Added in revision 44

Returns whether the mobile data is always active.

public String getName ()

Added in revision 44

Returns the profile name.

public boolean getUsePowerSaveGovernor ()

Added in revision 44

Returns whether the power save governor is used.