Updated: April 19, 2023 |
Types of metric counts for devices
#include <screen/screen.h>
enum { SCREEN_DEVICE_METRIC_EVENT_COUNT = 0, SCREEN_DEVICE_METRIC_POWER_ON_COUNT = 1, SCREEN_DEVICE_METRIC_IDLE_COUNT = 2 };
The metrics are on a per device basis and the counts are reset after being queried. That is, the counts are reset to 0 after you call screen_get_device_property_llv() to retrieve SCREEN_PROPERTY_METRICS.