Parameters
Success Callback Parameters
Code Example
Basic Usage
Display Brightness Percentage
Brightness Adjustment UI
Related APIs
my.setScreenBrightness
Set screen brightness
On Xiaomi phones the reported brightness is not consistent with the actual device brightness, so this API cannot return the correct value on those devices.