IsCurrentMaximizeBattery 

Checks if the maximize battery Vari-Bright preset is used on a display.

Syntax 

ADLX_RESULT     IsCurrentMaximizeBattery (adlx_bool* maximizeBattery)

Parameters 

  1. [out] maximizeBattery adlx_bool* The pointer to a variable where the state of the maximize battery preset is returned. The variable is true if the maximize battery preset is used. The variable is false if the maximize battery preset is not used.

Return Value 

If the state of maximize battery preset is successfully returned, ADLX_OK is returned.

If the state of maximize battery preset is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements 

Header

include “IDisplaySettings.h”

Minimum version

1.0