/* power.h generated by valac 0.56.18-dirty, the Vala compiler, do not modify */

#ifndef __SRC_POWER_H__
#define __SRC_POWER_H__

#include <wingpanel.h>
#include <glib-object.h>
#include <glib.h>
#include <gmodule.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <gee.h>
#include <gtk/gtk.h>

G_BEGIN_DECLS

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif
#define POWER_SERVICES_DBUS_INTERFACES_POWER_PROFILES_DAEMON_NAME "net.hadess.PowerProfiles"
#define POWER_SERVICES_DBUS_INTERFACES_POWER_PROFILES_DAEMON_PATH "/net/hadess/PowerProfiles"
#define CONSTANTS_GETTEXT_PACKAGE "power-indicator"
#define CONSTANTS_LOCALEDIR "/usr/share/locale"

#define POWER_TYPE_INDICATOR (power_indicator_get_type ())
#define POWER_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_INDICATOR, PowerIndicator))
#define POWER_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_INDICATOR, PowerIndicatorClass))
#define POWER_IS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_INDICATOR))
#define POWER_IS_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_INDICATOR))
#define POWER_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_INDICATOR, PowerIndicatorClass))

typedef struct _PowerIndicator PowerIndicator;
typedef struct _PowerIndicatorClass PowerIndicatorClass;
typedef struct _PowerIndicatorPrivate PowerIndicatorPrivate;

#define POWER_TYPE_UTILS (power_utils_get_type ())
#define POWER_UTILS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_TYPE_UTILS, PowerUtils))
#define POWER_UTILS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_TYPE_UTILS, PowerUtilsClass))
#define POWER_IS_UTILS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_TYPE_UTILS))
#define POWER_IS_UTILS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_TYPE_UTILS))
#define POWER_UTILS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_TYPE_UTILS, PowerUtilsClass))

typedef struct _PowerUtils PowerUtils;
typedef struct _PowerUtilsClass PowerUtilsClass;
typedef struct _PowerUtilsPrivate PowerUtilsPrivate;

#define POWER_SERVICES_TYPE_BACKLIGHT (power_services_backlight_get_type ())
#define POWER_SERVICES_BACKLIGHT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_SERVICES_TYPE_BACKLIGHT, PowerServicesBacklight))
#define POWER_SERVICES_BACKLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_SERVICES_TYPE_BACKLIGHT, PowerServicesBacklightClass))
#define POWER_SERVICES_IS_BACKLIGHT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_SERVICES_TYPE_BACKLIGHT))
#define POWER_SERVICES_IS_BACKLIGHT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_SERVICES_TYPE_BACKLIGHT))
#define POWER_SERVICES_BACKLIGHT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_SERVICES_TYPE_BACKLIGHT, PowerServicesBacklightClass))

typedef struct _PowerServicesBacklight PowerServicesBacklight;
typedef struct _PowerServicesBacklightClass PowerServicesBacklightClass;
typedef struct _PowerServicesBacklightPrivate PowerServicesBacklightPrivate;

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_HISTORY_DATA_POINT (power_services_dbus_interfaces_history_data_point_get_type ())
typedef struct _PowerServicesDBusInterfacesHistoryDataPoint PowerServicesDBusInterfacesHistoryDataPoint;

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_STATISTICS_DATA_POINT (power_services_dbus_interfaces_statistics_data_point_get_type ())
typedef struct _PowerServicesDBusInterfacesStatisticsDataPoint PowerServicesDBusInterfacesStatisticsDataPoint;

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_DEVICE (power_services_dbus_interfaces_device_get_type ())
#define POWER_SERVICES_DBUS_INTERFACES_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_DEVICE, PowerServicesDBusInterfacesDevice))
#define POWER_SERVICES_DBUS_INTERFACES_IS_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_DEVICE))
#define POWER_SERVICES_DBUS_INTERFACES_DEVICE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_DEVICE, PowerServicesDBusInterfacesDeviceIface))

typedef struct _PowerServicesDBusInterfacesDevice PowerServicesDBusInterfacesDevice;
typedef struct _PowerServicesDBusInterfacesDeviceIface PowerServicesDBusInterfacesDeviceIface;

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_DEVICE_PROXY (power_services_dbus_interfaces_device_proxy_get_type ())

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_PROPERTIES (power_services_dbus_interfaces_properties_get_type ())
#define POWER_SERVICES_DBUS_INTERFACES_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_PROPERTIES, PowerServicesDBusInterfacesProperties))
#define POWER_SERVICES_DBUS_INTERFACES_IS_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_PROPERTIES))
#define POWER_SERVICES_DBUS_INTERFACES_PROPERTIES_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_PROPERTIES, PowerServicesDBusInterfacesPropertiesIface))

typedef struct _PowerServicesDBusInterfacesProperties PowerServicesDBusInterfacesProperties;
typedef struct _PowerServicesDBusInterfacesPropertiesIface PowerServicesDBusInterfacesPropertiesIface;

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_PROPERTIES_PROXY (power_services_dbus_interfaces_properties_proxy_get_type ())

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_UPOWER (power_services_dbus_interfaces_upower_get_type ())
#define POWER_SERVICES_DBUS_INTERFACES_UPOWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_UPOWER, PowerServicesDBusInterfacesUPower))
#define POWER_SERVICES_DBUS_INTERFACES_IS_UPOWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_UPOWER))
#define POWER_SERVICES_DBUS_INTERFACES_UPOWER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), POWER_SERVICES_DBUS_INTERFACES_TYPE_UPOWER, PowerServicesDBusInterfacesUPowerIface))

typedef struct _PowerServicesDBusInterfacesUPower PowerServicesDBusInterfacesUPower;
typedef struct _PowerServicesDBusInterfacesUPowerIface PowerServicesDBusInterfacesUPowerIface;

#define POWER_SERVICES_DBUS_INTERFACES_TYPE_UPOWER_PROXY (power_services_dbus_interfaces_upower_proxy_get_type ())

#define POWER_SERVICES_TYPE_DEVICE (power_services_device_get_type ())
#define POWER_SERVICES_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_SERVICES_TYPE_DEVICE, PowerServicesDevice))
#define POWER_SERVICES_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_SERVICES_TYPE_DEVICE, PowerServicesDeviceClass))
#define POWER_SERVICES_IS_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_SERVICES_TYPE_DEVICE))
#define POWER_SERVICES_IS_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_SERVICES_TYPE_DEVICE))
#define POWER_SERVICES_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_SERVICES_TYPE_DEVICE, PowerServicesDeviceClass))

typedef struct _PowerServicesDevice PowerServicesDevice;
typedef struct _PowerServicesDeviceClass PowerServicesDeviceClass;
typedef struct _PowerServicesDevicePrivate PowerServicesDevicePrivate;
typedef enum  {
	POWER_SERVICES_DEVICE_STATE_UNKNOWN = 0,
	POWER_SERVICES_DEVICE_STATE_CHARGING = 1,
	POWER_SERVICES_DEVICE_STATE_DISCHARGING = 2,
	POWER_SERVICES_DEVICE_STATE_EMPTY = 3,
	POWER_SERVICES_DEVICE_STATE_FULLY_CHARGED = 4,
	POWER_SERVICES_DEVICE_STATE_PENDING_CHARGE = 5,
	POWER_SERVICES_DEVICE_STATE_PENDING_DISCHARGE = 6
} PowerServicesDeviceState;

#define POWER_SERVICES_DEVICE_TYPE_STATE (power_services_device_state_get_type ())
typedef enum  {
	POWER_SERVICES_DEVICE_TECHNOLOGY_UNKNOWN = 0,
	POWER_SERVICES_DEVICE_TECHNOLOGY_LITHIUM_ION = 1,
	POWER_SERVICES_DEVICE_TECHNOLOGY_LITHIUM_POLYMER = 2,
	POWER_SERVICES_DEVICE_TECHNOLOGY_LITHIUM_IRON_PHOSPHATE = 3,
	POWER_SERVICES_DEVICE_TECHNOLOGY_LEAD_ACID = 4,
	POWER_SERVICES_DEVICE_TECHNOLOGY_NICKEL_CADMIUM = 5,
	POWER_SERVICES_DEVICE_TECHNOLOGY_NICKEL_METAL_HYDRIDE = 6
} PowerServicesDeviceTechnology;

#define POWER_SERVICES_DEVICE_TYPE_TECHNOLOGY (power_services_device_technology_get_type ())
typedef enum  {
	POWER_SERVICES_DEVICE_TYPE_UNKNOWN = 0,
	POWER_SERVICES_DEVICE_TYPE_LINE_POWER = 1,
	POWER_SERVICES_DEVICE_TYPE_BATTERY = 2,
	POWER_SERVICES_DEVICE_TYPE_UPS = 3,
	POWER_SERVICES_DEVICE_TYPE_MONITOR = 4,
	POWER_SERVICES_DEVICE_TYPE_MOUSE = 5,
	POWER_SERVICES_DEVICE_TYPE_KEYBOARD = 6,
	POWER_SERVICES_DEVICE_TYPE_PDA = 7,
	POWER_SERVICES_DEVICE_TYPE_PHONE = 8,
	POWER_SERVICES_DEVICE_TYPE_MEDIA_PLAYER = 9,
	POWER_SERVICES_DEVICE_TYPE_TABLET = 10,
	POWER_SERVICES_DEVICE_TYPE_COMPUTER = 11,
	POWER_SERVICES_DEVICE_TYPE_GAMING_INPUT = 12,
	POWER_SERVICES_DEVICE_TYPE_PEN = 13
} PowerServicesDeviceType;

#define POWER_SERVICES_DEVICE_TYPE_TYPE (power_services_device_type_get_type ())

#define POWER_SERVICES_TYPE_DEVICE_MANAGER (power_services_device_manager_get_type ())
#define POWER_SERVICES_DEVICE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_SERVICES_TYPE_DEVICE_MANAGER, PowerServicesDeviceManager))
#define POWER_SERVICES_DEVICE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_SERVICES_TYPE_DEVICE_MANAGER, PowerServicesDeviceManagerClass))
#define POWER_SERVICES_IS_DEVICE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_SERVICES_TYPE_DEVICE_MANAGER))
#define POWER_SERVICES_IS_DEVICE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_SERVICES_TYPE_DEVICE_MANAGER))
#define POWER_SERVICES_DEVICE_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_SERVICES_TYPE_DEVICE_MANAGER, PowerServicesDeviceManagerClass))

typedef struct _PowerServicesDeviceManager PowerServicesDeviceManager;
typedef struct _PowerServicesDeviceManagerClass PowerServicesDeviceManagerClass;
typedef struct _PowerServicesDeviceManagerPrivate PowerServicesDeviceManagerPrivate;

#define POWER_WIDGETS_TYPE_DEVICE_LIST (power_widgets_device_list_get_type ())
#define POWER_WIDGETS_DEVICE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_WIDGETS_TYPE_DEVICE_LIST, PowerWidgetsDeviceList))
#define POWER_WIDGETS_DEVICE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_WIDGETS_TYPE_DEVICE_LIST, PowerWidgetsDeviceListClass))
#define POWER_WIDGETS_IS_DEVICE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_WIDGETS_TYPE_DEVICE_LIST))
#define POWER_WIDGETS_IS_DEVICE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_WIDGETS_TYPE_DEVICE_LIST))
#define POWER_WIDGETS_DEVICE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_WIDGETS_TYPE_DEVICE_LIST, PowerWidgetsDeviceListClass))

typedef struct _PowerWidgetsDeviceList PowerWidgetsDeviceList;
typedef struct _PowerWidgetsDeviceListClass PowerWidgetsDeviceListClass;
typedef struct _PowerWidgetsDeviceListPrivate PowerWidgetsDeviceListPrivate;

#define POWER_WIDGETS_TYPE_DEVICE_ROW (power_widgets_device_row_get_type ())
#define POWER_WIDGETS_DEVICE_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_WIDGETS_TYPE_DEVICE_ROW, PowerWidgetsDeviceRow))
#define POWER_WIDGETS_DEVICE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_WIDGETS_TYPE_DEVICE_ROW, PowerWidgetsDeviceRowClass))
#define POWER_WIDGETS_IS_DEVICE_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_WIDGETS_TYPE_DEVICE_ROW))
#define POWER_WIDGETS_IS_DEVICE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_WIDGETS_TYPE_DEVICE_ROW))
#define POWER_WIDGETS_DEVICE_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_WIDGETS_TYPE_DEVICE_ROW, PowerWidgetsDeviceRowClass))

typedef struct _PowerWidgetsDeviceRow PowerWidgetsDeviceRow;
typedef struct _PowerWidgetsDeviceRowClass PowerWidgetsDeviceRowClass;
typedef struct _PowerWidgetsDeviceRowPrivate PowerWidgetsDeviceRowPrivate;

#define POWER_WIDGETS_TYPE_DISPLAY_WIDGET (power_widgets_display_widget_get_type ())
#define POWER_WIDGETS_DISPLAY_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_WIDGETS_TYPE_DISPLAY_WIDGET, PowerWidgetsDisplayWidget))
#define POWER_WIDGETS_DISPLAY_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_WIDGETS_TYPE_DISPLAY_WIDGET, PowerWidgetsDisplayWidgetClass))
#define POWER_WIDGETS_IS_DISPLAY_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_WIDGETS_TYPE_DISPLAY_WIDGET))
#define POWER_WIDGETS_IS_DISPLAY_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_WIDGETS_TYPE_DISPLAY_WIDGET))
#define POWER_WIDGETS_DISPLAY_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_WIDGETS_TYPE_DISPLAY_WIDGET, PowerWidgetsDisplayWidgetClass))

typedef struct _PowerWidgetsDisplayWidget PowerWidgetsDisplayWidget;
typedef struct _PowerWidgetsDisplayWidgetClass PowerWidgetsDisplayWidgetClass;
typedef struct _PowerWidgetsDisplayWidgetPrivate PowerWidgetsDisplayWidgetPrivate;

#define POWER_WIDGETS_TYPE_POPOVER_WIDGET (power_widgets_popover_widget_get_type ())
#define POWER_WIDGETS_POPOVER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_WIDGETS_TYPE_POPOVER_WIDGET, PowerWidgetsPopoverWidget))
#define POWER_WIDGETS_POPOVER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_WIDGETS_TYPE_POPOVER_WIDGET, PowerWidgetsPopoverWidgetClass))
#define POWER_WIDGETS_IS_POPOVER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_WIDGETS_TYPE_POPOVER_WIDGET))
#define POWER_WIDGETS_IS_POPOVER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_WIDGETS_TYPE_POPOVER_WIDGET))
#define POWER_WIDGETS_POPOVER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_WIDGETS_TYPE_POPOVER_WIDGET, PowerWidgetsPopoverWidgetClass))

typedef struct _PowerWidgetsPopoverWidget PowerWidgetsPopoverWidget;
typedef struct _PowerWidgetsPopoverWidgetClass PowerWidgetsPopoverWidgetClass;
typedef struct _PowerWidgetsPopoverWidgetPrivate PowerWidgetsPopoverWidgetPrivate;

#define POWER_WIDGETS_TYPE_SCREEN_BRIGHTNESS (power_widgets_screen_brightness_get_type ())
#define POWER_WIDGETS_SCREEN_BRIGHTNESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_WIDGETS_TYPE_SCREEN_BRIGHTNESS, PowerWidgetsScreenBrightness))
#define POWER_WIDGETS_SCREEN_BRIGHTNESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_WIDGETS_TYPE_SCREEN_BRIGHTNESS, PowerWidgetsScreenBrightnessClass))
#define POWER_WIDGETS_IS_SCREEN_BRIGHTNESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_WIDGETS_TYPE_SCREEN_BRIGHTNESS))
#define POWER_WIDGETS_IS_SCREEN_BRIGHTNESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_WIDGETS_TYPE_SCREEN_BRIGHTNESS))
#define POWER_WIDGETS_SCREEN_BRIGHTNESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_WIDGETS_TYPE_SCREEN_BRIGHTNESS, PowerWidgetsScreenBrightnessClass))

typedef struct _PowerWidgetsScreenBrightness PowerWidgetsScreenBrightness;
typedef struct _PowerWidgetsScreenBrightnessClass PowerWidgetsScreenBrightnessClass;
typedef struct _PowerWidgetsScreenBrightnessPrivate PowerWidgetsScreenBrightnessPrivate;

#define POWER_WIDGETS_TYPE_POWER_MODE_LIST (power_widgets_power_mode_list_get_type ())
#define POWER_WIDGETS_POWER_MODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POWER_WIDGETS_TYPE_POWER_MODE_LIST, PowerWidgetsPowerModeList))
#define POWER_WIDGETS_POWER_MODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), POWER_WIDGETS_TYPE_POWER_MODE_LIST, PowerWidgetsPowerModeListClass))
#define POWER_WIDGETS_IS_POWER_MODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), POWER_WIDGETS_TYPE_POWER_MODE_LIST))
#define POWER_WIDGETS_IS_POWER_MODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), POWER_WIDGETS_TYPE_POWER_MODE_LIST))
#define POWER_WIDGETS_POWER_MODE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), POWER_WIDGETS_TYPE_POWER_MODE_LIST, PowerWidgetsPowerModeListClass))

typedef struct _PowerWidgetsPowerModeList PowerWidgetsPowerModeList;
typedef struct _PowerWidgetsPowerModeListClass PowerWidgetsPowerModeListClass;
typedef struct _PowerWidgetsPowerModeListPrivate PowerWidgetsPowerModeListPrivate;

struct _PowerIndicator {
	WingpanelIndicator parent_instance;
	PowerIndicatorPrivate * priv;
};

struct _PowerIndicatorClass {
	WingpanelIndicatorClass parent_class;
};

struct _PowerUtils {
	GTypeInstance parent_instance;
	volatile int ref_count;
	PowerUtilsPrivate * priv;
};

struct _PowerUtilsClass {
	GTypeClass parent_class;
	void (*finalize) (PowerUtils *self);
};

struct _PowerServicesBacklight {
	GObject parent_instance;
	PowerServicesBacklightPrivate * priv;
};

struct _PowerServicesBacklightClass {
	GObjectClass parent_class;
};

struct _PowerServicesDBusInterfacesHistoryDataPoint {
	guint32 time;
	gdouble value;
	guint32 state;
};

struct _PowerServicesDBusInterfacesStatisticsDataPoint {
	gdouble value;
	gdouble accuracy;
};

struct _PowerServicesDBusInterfacesDeviceIface {
	GTypeInterface parent_iface;
	PowerServicesDBusInterfacesHistoryDataPoint* (*get_history) (PowerServicesDBusInterfacesDevice* self, const gchar* type, guint32 timespan, guint32 resolution, gint* result_length1, GError** error);
	PowerServicesDBusInterfacesStatisticsDataPoint* (*get_statistics) (PowerServicesDBusInterfacesDevice* self, const gchar* type, gint* result_length1, GError** error);
	void (*refresh) (PowerServicesDBusInterfacesDevice* self, GError** error);
	gboolean (*get_has_history) (PowerServicesDBusInterfacesDevice* self);
	void (*set_has_history) (PowerServicesDBusInterfacesDevice* self, gboolean value);
	gboolean (*get_has_statistics) (PowerServicesDBusInterfacesDevice* self);
	void (*set_has_statistics) (PowerServicesDBusInterfacesDevice* self, gboolean value);
	gboolean (*get_is_present) (PowerServicesDBusInterfacesDevice* self);
	void (*set_is_present) (PowerServicesDBusInterfacesDevice* self, gboolean value);
	gboolean (*get_is_rechargeable) (PowerServicesDBusInterfacesDevice* self);
	void (*set_is_rechargeable) (PowerServicesDBusInterfacesDevice* self, gboolean value);
	gboolean (*get_online) (PowerServicesDBusInterfacesDevice* self);
	void (*set_online) (PowerServicesDBusInterfacesDevice* self, gboolean value);
	gboolean (*get_power_supply) (PowerServicesDBusInterfacesDevice* self);
	void (*set_power_supply) (PowerServicesDBusInterfacesDevice* self, gboolean value);
	gdouble (*get_capacity) (PowerServicesDBusInterfacesDevice* self);
	void (*set_capacity) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_energy) (PowerServicesDBusInterfacesDevice* self);
	void (*set_energy) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_energy_empty) (PowerServicesDBusInterfacesDevice* self);
	void (*set_energy_empty) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_energy_full) (PowerServicesDBusInterfacesDevice* self);
	void (*set_energy_full) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_energy_full_design) (PowerServicesDBusInterfacesDevice* self);
	void (*set_energy_full_design) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_energy_rate) (PowerServicesDBusInterfacesDevice* self);
	void (*set_energy_rate) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_luminosity) (PowerServicesDBusInterfacesDevice* self);
	void (*set_luminosity) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_percentage) (PowerServicesDBusInterfacesDevice* self);
	void (*set_percentage) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_temperature) (PowerServicesDBusInterfacesDevice* self);
	void (*set_temperature) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gdouble (*get_voltage) (PowerServicesDBusInterfacesDevice* self);
	void (*set_voltage) (PowerServicesDBusInterfacesDevice* self, gdouble value);
	gint64 (*get_time_to_empty) (PowerServicesDBusInterfacesDevice* self);
	void (*set_time_to_empty) (PowerServicesDBusInterfacesDevice* self, gint64 value);
	gint64 (*get_time_to_full) (PowerServicesDBusInterfacesDevice* self);
	void (*set_time_to_full) (PowerServicesDBusInterfacesDevice* self, gint64 value);
	gchar* (*get_model) (PowerServicesDBusInterfacesDevice* self);
	void (*set_model) (PowerServicesDBusInterfacesDevice* self, const gchar* value);
	gchar* (*get_native_path) (PowerServicesDBusInterfacesDevice* self);
	void (*set_native_path) (PowerServicesDBusInterfacesDevice* self, const gchar* value);
	gchar* (*get_serial) (PowerServicesDBusInterfacesDevice* self);
	void (*set_serial) (PowerServicesDBusInterfacesDevice* self, const gchar* value);
	gchar* (*get_vendor) (PowerServicesDBusInterfacesDevice* self);
	void (*set_vendor) (PowerServicesDBusInterfacesDevice* self, const gchar* value);
	guint32 (*get_battery_level) (PowerServicesDBusInterfacesDevice* self);
	guint32 (*get_state) (PowerServicesDBusInterfacesDevice* self);
	void (*set_state) (PowerServicesDBusInterfacesDevice* self, guint32 value);
	guint32 (*get_technology) (PowerServicesDBusInterfacesDevice* self);
	void (*set_technology) (PowerServicesDBusInterfacesDevice* self, guint32 value);
	guint32 (*get_Type) (PowerServicesDBusInterfacesDevice* self);
	void (*set_Type) (PowerServicesDBusInterfacesDevice* self, guint32 value);
	guint64 (*get_update_time) (PowerServicesDBusInterfacesDevice* self);
	void (*set_update_time) (PowerServicesDBusInterfacesDevice* self, guint64 value);
};

struct _PowerServicesDBusInterfacesPropertiesIface {
	GTypeInterface parent_iface;
	GVariant* (*get) (PowerServicesDBusInterfacesProperties* self, const gchar* interface, const gchar* propname, GError** error);
	void (*set) (PowerServicesDBusInterfacesProperties* self, const gchar* interface, const gchar* propname, GVariant* value, GError** error);
};

struct _PowerServicesDBusInterfacesUPowerIface {
	GTypeInterface parent_iface;
	char** (*enumerate_devices) (PowerServicesDBusInterfacesUPower* self, gint* result_length1, GError** error);
	char* (*get_display_device) (PowerServicesDBusInterfacesUPower* self, GError** error);
	gboolean (*get_on_battery) (PowerServicesDBusInterfacesUPower* self);
};

struct _PowerServicesDevice {
	GObject parent_instance;
	PowerServicesDevicePrivate * priv;
};

struct _PowerServicesDeviceClass {
	GObjectClass parent_class;
};

struct _PowerServicesDeviceManager {
	GObject parent_instance;
	PowerServicesDeviceManagerPrivate * priv;
};

struct _PowerServicesDeviceManagerClass {
	GObjectClass parent_class;
};

struct _PowerWidgetsDeviceList {
	GtkListBox parent_instance;
	PowerWidgetsDeviceListPrivate * priv;
	GeeHashMap* entries;
	GeeHashMap* path_entries;
};

struct _PowerWidgetsDeviceListClass {
	GtkListBoxClass parent_class;
};

struct _PowerWidgetsDeviceRow {
	GtkListBoxRow parent_instance;
	PowerWidgetsDeviceRowPrivate * priv;
};

struct _PowerWidgetsDeviceRowClass {
	GtkListBoxRowClass parent_class;
};

struct _PowerWidgetsDisplayWidget {
	GtkBox parent_instance;
	PowerWidgetsDisplayWidgetPrivate * priv;
};

struct _PowerWidgetsDisplayWidgetClass {
	GtkBoxClass parent_class;
};

struct _PowerWidgetsPopoverWidget {
	GtkGrid parent_instance;
	PowerWidgetsPopoverWidgetPrivate * priv;
};

struct _PowerWidgetsPopoverWidgetClass {
	GtkGridClass parent_class;
};

struct _PowerWidgetsScreenBrightness {
	GtkEventBox parent_instance;
	PowerWidgetsScreenBrightnessPrivate * priv;
};

struct _PowerWidgetsScreenBrightnessClass {
	GtkEventBoxClass parent_class;
};

struct _PowerWidgetsPowerModeList {
	GtkBox parent_instance;
	PowerWidgetsPowerModeListPrivate * priv;
};

struct _PowerWidgetsPowerModeListClass {
	GtkBoxClass parent_class;
};

VALA_EXTERN GType power_indicator_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerIndicator, g_object_unref)
VALA_EXTERN PowerIndicator* power_indicator_new (gboolean is_in_session);
VALA_EXTERN PowerIndicator* power_indicator_construct (GType object_type,
                                           gboolean is_in_session);
VALA_EXTERN gboolean power_indicator_get_is_in_session (PowerIndicator* self);
VALA_EXTERN gboolean power_indicator_get_natural_scroll_touchpad (PowerIndicator* self);
VALA_EXTERN void power_indicator_set_natural_scroll_touchpad (PowerIndicator* self,
                                                  gboolean value);
VALA_EXTERN gboolean power_indicator_get_natural_scroll_mouse (PowerIndicator* self);
VALA_EXTERN void power_indicator_set_natural_scroll_mouse (PowerIndicator* self,
                                               gboolean value);
VALA_EXTERN WingpanelIndicator* get_indicator (GModule* module,
                                   WingpanelIndicatorManagerServerType server_type);
VALA_EXTERN gpointer power_utils_ref (gpointer instance);
VALA_EXTERN void power_utils_unref (gpointer instance);
VALA_EXTERN GParamSpec* power_param_spec_utils (const gchar* name,
                                    const gchar* nick,
                                    const gchar* blurb,
                                    GType object_type,
                                    GParamFlags flags);
VALA_EXTERN void power_value_set_utils (GValue* value,
                            gpointer v_object);
VALA_EXTERN void power_value_take_utils (GValue* value,
                             gpointer v_object);
VALA_EXTERN gpointer power_value_get_utils (const GValue* value);
VALA_EXTERN GType power_utils_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerUtils, power_utils_unref)
VALA_EXTERN gboolean power_utils_handle_scroll_event (GdkEventScroll* e,
                                          gboolean natural_scroll_mouse,
                                          gboolean natural_scroll_touchpad);
VALA_EXTERN PowerUtils* power_utils_new (void);
VALA_EXTERN PowerUtils* power_utils_construct (GType object_type);
VALA_EXTERN GType power_services_backlight_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerServicesBacklight, g_object_unref)
VALA_EXTERN PowerServicesBacklight* power_services_backlight_new (void);
VALA_EXTERN PowerServicesBacklight* power_services_backlight_construct (GType object_type);
VALA_EXTERN gboolean power_services_backlight_get_present (PowerServicesBacklight* self);
VALA_EXTERN void power_services_backlight_set_present (PowerServicesBacklight* self,
                                           gboolean value);
VALA_EXTERN GType power_services_dbus_interfaces_history_data_point_get_type (void) G_GNUC_CONST ;
VALA_EXTERN PowerServicesDBusInterfacesHistoryDataPoint* power_services_dbus_interfaces_history_data_point_dup (const PowerServicesDBusInterfacesHistoryDataPoint* self);
VALA_EXTERN void power_services_dbus_interfaces_history_data_point_free (PowerServicesDBusInterfacesHistoryDataPoint* self);
VALA_EXTERN GType power_services_dbus_interfaces_statistics_data_point_get_type (void) G_GNUC_CONST ;
VALA_EXTERN PowerServicesDBusInterfacesStatisticsDataPoint* power_services_dbus_interfaces_statistics_data_point_dup (const PowerServicesDBusInterfacesStatisticsDataPoint* self);
VALA_EXTERN void power_services_dbus_interfaces_statistics_data_point_free (PowerServicesDBusInterfacesStatisticsDataPoint* self);
VALA_EXTERN GType power_services_dbus_interfaces_device_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint power_services_dbus_interfaces_device_register_object (void* object,
                                                             GDBusConnection* connection,
                                                             const gchar* path,
                                                             GError** error);
VALA_EXTERN GType power_services_dbus_interfaces_device_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerServicesDBusInterfacesDevice, g_object_unref)
VALA_EXTERN PowerServicesDBusInterfacesHistoryDataPoint* power_services_dbus_interfaces_device_get_history (PowerServicesDBusInterfacesDevice* self,
                                                                                                const gchar* type,
                                                                                                guint32 timespan,
                                                                                                guint32 resolution,
                                                                                                gint* result_length1,
                                                                                                GError** error);
VALA_EXTERN PowerServicesDBusInterfacesStatisticsDataPoint* power_services_dbus_interfaces_device_get_statistics (PowerServicesDBusInterfacesDevice* self,
                                                                                                      const gchar* type,
                                                                                                      gint* result_length1,
                                                                                                      GError** error);
VALA_EXTERN void power_services_dbus_interfaces_device_refresh (PowerServicesDBusInterfacesDevice* self,
                                                    GError** error);
VALA_EXTERN gboolean power_services_dbus_interfaces_device_get_has_history (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_has_history (PowerServicesDBusInterfacesDevice* self,
                                                            gboolean value);
VALA_EXTERN gboolean power_services_dbus_interfaces_device_get_has_statistics (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_has_statistics (PowerServicesDBusInterfacesDevice* self,
                                                               gboolean value);
VALA_EXTERN gboolean power_services_dbus_interfaces_device_get_is_present (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_is_present (PowerServicesDBusInterfacesDevice* self,
                                                           gboolean value);
VALA_EXTERN gboolean power_services_dbus_interfaces_device_get_is_rechargeable (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_is_rechargeable (PowerServicesDBusInterfacesDevice* self,
                                                                gboolean value);
VALA_EXTERN gboolean power_services_dbus_interfaces_device_get_online (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_online (PowerServicesDBusInterfacesDevice* self,
                                                       gboolean value);
VALA_EXTERN gboolean power_services_dbus_interfaces_device_get_power_supply (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_power_supply (PowerServicesDBusInterfacesDevice* self,
                                                             gboolean value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_capacity (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_capacity (PowerServicesDBusInterfacesDevice* self,
                                                         gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_energy (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_energy (PowerServicesDBusInterfacesDevice* self,
                                                       gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_energy_empty (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_energy_empty (PowerServicesDBusInterfacesDevice* self,
                                                             gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_energy_full (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_energy_full (PowerServicesDBusInterfacesDevice* self,
                                                            gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_energy_full_design (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_energy_full_design (PowerServicesDBusInterfacesDevice* self,
                                                                   gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_energy_rate (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_energy_rate (PowerServicesDBusInterfacesDevice* self,
                                                            gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_luminosity (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_luminosity (PowerServicesDBusInterfacesDevice* self,
                                                           gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_percentage (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_percentage (PowerServicesDBusInterfacesDevice* self,
                                                           gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_temperature (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_temperature (PowerServicesDBusInterfacesDevice* self,
                                                            gdouble value);
VALA_EXTERN gdouble power_services_dbus_interfaces_device_get_voltage (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_voltage (PowerServicesDBusInterfacesDevice* self,
                                                        gdouble value);
VALA_EXTERN gint64 power_services_dbus_interfaces_device_get_time_to_empty (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_time_to_empty (PowerServicesDBusInterfacesDevice* self,
                                                              gint64 value);
VALA_EXTERN gint64 power_services_dbus_interfaces_device_get_time_to_full (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_time_to_full (PowerServicesDBusInterfacesDevice* self,
                                                             gint64 value);
VALA_EXTERN gchar* power_services_dbus_interfaces_device_get_model (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_model (PowerServicesDBusInterfacesDevice* self,
                                                      const gchar* value);
VALA_EXTERN gchar* power_services_dbus_interfaces_device_get_native_path (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_native_path (PowerServicesDBusInterfacesDevice* self,
                                                            const gchar* value);
VALA_EXTERN gchar* power_services_dbus_interfaces_device_get_serial (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_serial (PowerServicesDBusInterfacesDevice* self,
                                                       const gchar* value);
VALA_EXTERN gchar* power_services_dbus_interfaces_device_get_vendor (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_vendor (PowerServicesDBusInterfacesDevice* self,
                                                       const gchar* value);
VALA_EXTERN guint32 power_services_dbus_interfaces_device_get_battery_level (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN guint32 power_services_dbus_interfaces_device_get_state (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_state (PowerServicesDBusInterfacesDevice* self,
                                                      guint32 value);
VALA_EXTERN guint32 power_services_dbus_interfaces_device_get_technology (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_technology (PowerServicesDBusInterfacesDevice* self,
                                                           guint32 value);
VALA_EXTERN guint32 power_services_dbus_interfaces_device_get_Type (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_Type (PowerServicesDBusInterfacesDevice* self,
                                                     guint32 value);
VALA_EXTERN guint64 power_services_dbus_interfaces_device_get_update_time (PowerServicesDBusInterfacesDevice* self);
VALA_EXTERN void power_services_dbus_interfaces_device_set_update_time (PowerServicesDBusInterfacesDevice* self,
                                                            guint64 value);
VALA_EXTERN GType power_services_dbus_interfaces_properties_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint power_services_dbus_interfaces_properties_register_object (void* object,
                                                                 GDBusConnection* connection,
                                                                 const gchar* path,
                                                                 GError** error);
VALA_EXTERN GType power_services_dbus_interfaces_properties_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerServicesDBusInterfacesProperties, g_object_unref)
VALA_EXTERN GVariant* power_services_dbus_interfaces_properties_get (PowerServicesDBusInterfacesProperties* self,
                                                         const gchar* interface,
                                                         const gchar* propname,
                                                         GError** error);
VALA_EXTERN void power_services_dbus_interfaces_properties_set (PowerServicesDBusInterfacesProperties* self,
                                                    const gchar* interface,
                                                    const gchar* propname,
                                                    GVariant* value,
                                                    GError** error);
VALA_EXTERN GType power_services_dbus_interfaces_upower_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint power_services_dbus_interfaces_upower_register_object (void* object,
                                                             GDBusConnection* connection,
                                                             const gchar* path,
                                                             GError** error);
VALA_EXTERN GType power_services_dbus_interfaces_upower_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerServicesDBusInterfacesUPower, g_object_unref)
VALA_EXTERN char** power_services_dbus_interfaces_upower_enumerate_devices (PowerServicesDBusInterfacesUPower* self,
                                                                gint* result_length1,
                                                                GError** error);
VALA_EXTERN char* power_services_dbus_interfaces_upower_get_display_device (PowerServicesDBusInterfacesUPower* self,
                                                                GError** error);
VALA_EXTERN gboolean power_services_dbus_interfaces_upower_get_on_battery (PowerServicesDBusInterfacesUPower* self);
VALA_EXTERN GType power_services_device_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerServicesDevice, g_object_unref)
VALA_EXTERN GType power_services_device_state_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType power_services_device_technology_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType power_services_device_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN const gchar* power_services_device_type_get_name (PowerServicesDeviceType self);
VALA_EXTERN const gchar* power_services_device_type_get_icon_name (PowerServicesDeviceType self);
VALA_EXTERN PowerServicesDevice* power_services_device_new (const gchar* device_path);
VALA_EXTERN PowerServicesDevice* power_services_device_construct (GType object_type,
                                                      const gchar* device_path);
VALA_EXTERN gchar* power_services_device_get_symbolic_icon_name_for_battery (PowerServicesDevice* self);
VALA_EXTERN gchar* power_services_device_get_icon_name_for_battery (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_coarse_battery_level (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_has_history (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_has_statistics (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_is_present (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_is_rechargeable (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_online (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_power_supply (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_capacity (PowerServicesDevice* self);
VALA_EXTERN const gchar* power_services_device_get_description (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_energy (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_energy_empty (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_energy_full (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_energy_full_design (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_energy_rate (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_luminosity (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_percentage (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_temperature (PowerServicesDevice* self);
VALA_EXTERN gdouble power_services_device_get_voltage (PowerServicesDevice* self);
VALA_EXTERN gint64 power_services_device_get_time_to_empty (PowerServicesDevice* self);
VALA_EXTERN gint64 power_services_device_get_time_to_full (PowerServicesDevice* self);
VALA_EXTERN const gchar* power_services_device_get_model (PowerServicesDevice* self);
VALA_EXTERN const gchar* power_services_device_get_native_path (PowerServicesDevice* self);
VALA_EXTERN const gchar* power_services_device_get_serial (PowerServicesDevice* self);
VALA_EXTERN const gchar* power_services_device_get_vendor (PowerServicesDevice* self);
VALA_EXTERN PowerServicesDeviceState power_services_device_get_state (PowerServicesDevice* self);
VALA_EXTERN PowerServicesDeviceTechnology power_services_device_get_technology (PowerServicesDevice* self);
VALA_EXTERN PowerServicesDeviceType power_services_device_get_device_type (PowerServicesDevice* self);
VALA_EXTERN guint64 power_services_device_get_update_time (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_is_charging (PowerServicesDevice* self);
VALA_EXTERN gboolean power_services_device_get_is_a_battery (PowerServicesDevice* self);
VALA_EXTERN GType power_services_device_manager_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerServicesDeviceManager, g_object_unref)
VALA_EXTERN PowerServicesDeviceManager* power_services_device_manager_get_default (void);
VALA_EXTERN void power_services_device_manager_read_devices (PowerServicesDeviceManager* self);
VALA_EXTERN void power_services_device_manager_change_brightness (PowerServicesDeviceManager* self,
                                                      gint change);
VALA_EXTERN PowerServicesDeviceManager* power_services_device_manager_new (void);
VALA_EXTERN PowerServicesDeviceManager* power_services_device_manager_construct (GType object_type);
VALA_EXTERN PowerServicesBacklight* power_services_device_manager_get_backlight (PowerServicesDeviceManager* self);
VALA_EXTERN GeeHashMap* power_services_device_manager_get_devices (PowerServicesDeviceManager* self);
VALA_EXTERN GeeIterator* power_services_device_manager_get_batteries (PowerServicesDeviceManager* self);
VALA_EXTERN PowerServicesDevice* power_services_device_manager_get_display_device (PowerServicesDeviceManager* self);
VALA_EXTERN gboolean power_services_device_manager_get_has_battery (PowerServicesDeviceManager* self);
VALA_EXTERN gboolean power_services_device_manager_get_on_battery (PowerServicesDeviceManager* self);
VALA_EXTERN gboolean power_services_device_manager_get_on_low_battery (PowerServicesDeviceManager* self);
VALA_EXTERN gint power_services_device_manager_get_brightness (PowerServicesDeviceManager* self);
VALA_EXTERN void power_services_device_manager_set_brightness (PowerServicesDeviceManager* self,
                                                   gint value);
VALA_EXTERN GType power_widgets_device_list_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerWidgetsDeviceList, g_object_unref)
VALA_EXTERN GType power_widgets_device_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerWidgetsDeviceRow, g_object_unref)
VALA_EXTERN PowerWidgetsDeviceList* power_widgets_device_list_new (void);
VALA_EXTERN PowerWidgetsDeviceList* power_widgets_device_list_construct (GType object_type);
VALA_EXTERN PowerWidgetsDeviceRow* power_widgets_device_row_new (PowerServicesDevice* battery);
VALA_EXTERN PowerWidgetsDeviceRow* power_widgets_device_row_construct (GType object_type,
                                                           PowerServicesDevice* battery);
VALA_EXTERN PowerServicesDevice* power_widgets_device_row_get_battery (PowerWidgetsDeviceRow* self);
VALA_EXTERN GType power_widgets_display_widget_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerWidgetsDisplayWidget, g_object_unref)
VALA_EXTERN void power_widgets_display_widget_show_percentage (PowerWidgetsDisplayWidget* self,
                                                   gboolean show);
VALA_EXTERN PowerWidgetsDisplayWidget* power_widgets_display_widget_new (void);
VALA_EXTERN PowerWidgetsDisplayWidget* power_widgets_display_widget_construct (GType object_type);
VALA_EXTERN void power_widgets_display_widget_set_icon_name (PowerWidgetsDisplayWidget* self,
                                                 const gchar* value);
VALA_EXTERN gboolean power_widgets_display_widget_get_allow_percent (PowerWidgetsDisplayWidget* self);
VALA_EXTERN void power_widgets_display_widget_set_allow_percent (PowerWidgetsDisplayWidget* self,
                                                     gboolean value);
VALA_EXTERN void power_widgets_display_widget_set_percentage (PowerWidgetsDisplayWidget* self,
                                                  gint value);
VALA_EXTERN GType power_widgets_popover_widget_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerWidgetsPopoverWidget, g_object_unref)
VALA_EXTERN PowerWidgetsPopoverWidget* power_widgets_popover_widget_new (gboolean is_in_session);
VALA_EXTERN PowerWidgetsPopoverWidget* power_widgets_popover_widget_construct (GType object_type,
                                                                   gboolean is_in_session);
VALA_EXTERN void power_widgets_popover_widget_update_power_mode (PowerWidgetsPopoverWidget* self);
VALA_EXTERN gboolean power_widgets_popover_widget_get_is_in_session (PowerWidgetsPopoverWidget* self);
VALA_EXTERN GType power_widgets_screen_brightness_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerWidgetsScreenBrightness, g_object_unref)
VALA_EXTERN PowerWidgetsScreenBrightness* power_widgets_screen_brightness_new (void);
VALA_EXTERN PowerWidgetsScreenBrightness* power_widgets_screen_brightness_construct (GType object_type);
VALA_EXTERN gboolean power_widgets_screen_brightness_get_natural_scroll_touchpad (PowerWidgetsScreenBrightness* self);
VALA_EXTERN void power_widgets_screen_brightness_set_natural_scroll_touchpad (PowerWidgetsScreenBrightness* self,
                                                                  gboolean value);
VALA_EXTERN gboolean power_widgets_screen_brightness_get_natural_scroll_mouse (PowerWidgetsScreenBrightness* self);
VALA_EXTERN void power_widgets_screen_brightness_set_natural_scroll_mouse (PowerWidgetsScreenBrightness* self,
                                                               gboolean value);
VALA_EXTERN GType power_widgets_power_mode_list_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PowerWidgetsPowerModeList, g_object_unref)
VALA_EXTERN void power_widgets_power_mode_list_update_active_profile (PowerWidgetsPowerModeList* self);
VALA_EXTERN PowerWidgetsPowerModeList* power_widgets_power_mode_list_new (void);
VALA_EXTERN PowerWidgetsPowerModeList* power_widgets_power_mode_list_construct (GType object_type);
VALA_EXTERN gboolean power_widgets_power_mode_list_get_successfully_initialized (void);

G_END_DECLS

#endif
