2 * Copyright (c) 2010 Samsung Electronics, Inc.
5 * This software is a confidential and proprietary information
6 * of Samsung Electronics, Inc. ("Confidential Information"). You
7 * shall not disclose such Confidential Information and shall use
8 * it only in accordance with the terms of the license agreement
9 * you entered into with Samsung Electronics.
14 * Created on: Oct 12, 2013
18 #ifndef SETTING_BATTERY_H_
19 #define SETTING_BATTERY_H_
21 #include <Elementary.h>
26 struct _battery_menu_item {
29 void (*func)(void *data, Evas_Object *obj, void *event_info);
41 BATT_MENU_POWER_SAVING
44 struct _battery_info {
49 Ecore_Timer * battery_timer;
53 bool prev_charging_state;
58 // ----------------method----------------------//
60 Evas_Object* _create_battery_list(void* data);
62 Evas_Object *_battery_status_cb(void *data);
63 void _clear_battery_cb(void *data , Evas *e, Evas_Object *obj, void *event_info);
64 Eina_Bool _clear_battery_list_cb(void *data, Elm_Object_Item *it);
65 void _start_timer_for_update(Evas_Object * obj);
67 void _initialize_battery();
69 #endif /* SETTING_BATTERY_H_ */