Keep screen on and monitoring the battery level.
Limits:
Background monitoring not supported yet. Please keep the app running on screen to measure the battery usage with brightness level 0, 0.25, 0.5, 1. And the brightness levels represent the system brightness slider settings(You may need to turn the auto brightness adjustment off in Settings app: Display & Brightness/Auto-Brightness).