You can use this magic text to get the current brightness level on a range of 0-100. It is written [current_brightness]. If you are having issues with this, see this instead : Current Brightness (Android 9+ alternative)