IsCurrentOptimizeBattery
Checks if the optimized battery Vari-Bright preset is used on a display.
Syntax
ADLX_RESULT IsCurrentOptimizeBattery (adlx_bool* optimizeBattery)
Parameters
-
[out]
optimizeBattery adlx_bool* The pointer to a variable where the state of the optimized battery preset is returned. The variable is true if the optimized battery preset is used. The variable is false if the optimized battery preset is not used.
Return Value
If the state of optimized battery preset is successfully returned, ADLX_OK is returned.
If the state of optimized 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 |