System Event SYSTEM_EVENT_BATTERY_LEVEL_STATUS does not trigger
System Event SYSTEM_EVENT_BATTERY_LEVEL_STATUS does not trigger
BY 22 May 2020Native Application Development
Hi there,
I am implementing a native service application 4.0 and I already successfully subscribed to system events e.g. SYSTEM_EVENT_BATTERY_CHARGER_STATUS.
However I fail to receive SYSTEM_EVENT_BATTERY_LEVEL_STATUS events.
Here are the relevant code snippets:
event_handler_h handler;
int ret = event_add_event_handler(SYSTEM_EVENT_BATTERY_LEVEL_STATUS, subscribe_battery_level_status_callback, NULL, &handler);
Now how I test. The Smartwatch is at around 95% and I start charging. At 100% I would expect that the event triggers and calls the subscribe_battery_level_status_callback function. However, I don’t receive anything.
System Event SYSTEM_EVENT_BATTERY_LEVEL_STATUS does not trigger
Hi there,
I am implementing a native service application 4.0 and I already successfully subscribed to system events e.g. SYSTEM_EVENT_BATTERY_CHARGER_STATUS.
However I fail to receive SYSTEM_EVENT_BATTERY_LEVEL_STATUS events.
Here are the relevant code snippets:
event_add_event_handler returns success ( 0 ).
And here is the callback function:
Now how I test. The Smartwatch is at around 95% and I start charging. At 100% I would expect that the event triggers and calls the subscribe_battery_level_status_callback function. However, I don’t receive anything.
Any ideas? Your help would be much appreciated!
Cheers Keaselstein
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio