Home
last modified time | relevance | path

Searched refs:UP_DEVICE_KIND_UPS (Results 1 – 25 of 26) sorted by relevance

12

/dports/sysutils/upower/upower-0.99.13/libupower-glib/
H A Dup-types.c54 case UP_DEVICE_KIND_UPS: in up_device_kind_to_string()
131 return UP_DEVICE_KIND_UPS; in up_device_kind_from_string()
H A Dup-types.h42 UP_DEVICE_KIND_UPS, enumerator
H A Dup-device.c310 kind == UP_DEVICE_KIND_UPS || in up_device_to_text()
325 kind == UP_DEVICE_KIND_UPS || in up_device_to_text()
343 if (kind == UP_DEVICE_KIND_UPS || in up_device_to_text()
354 kind == UP_DEVICE_KIND_UPS) { in up_device_to_text()
/dports/devel/kf5-solid/solid-5.89.0/src/solid/devices/backends/upower/
H A Dupower.h21 UP_DEVICE_KIND_UPS, enumerator
H A Dupowerdevice.cpp84 case UP_DEVICE_KIND_UPS: in queryDeviceInterface()
H A Dupowerbattery.cpp42 case UP_DEVICE_KIND_UPS: in type()
/dports/sysutils/mate-power-manager/mate-power-manager-1.26.0/src/
H A Dgpm-upower.c104 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_upower_get_device_icon()
493 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_localised_string()
550 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_icon()
H A Dgpm-engine.c229 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_CRITICAL, FALSE); in gpm_engine_get_icon()
249 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_LOW, FALSE); in gpm_engine_get_icon()
269 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_NONE, TRUE); in gpm_engine_get_icon()
283 icon = gpm_engine_get_icon_priv (engine, UP_DEVICE_KIND_UPS, GPM_ENGINE_WARNING_NONE, FALSE); in gpm_engine_get_icon()
H A Dgpm-manager.c1214 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_discharging_cb()
1315 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_charge_low_cb()
1450 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_charge_critical_cb()
1539 case UP_DEVICE_KIND_UPS: in gpm_manager_engine_charge_critical_cb()
1618 } else if (kind == UP_DEVICE_KIND_UPS) { in gpm_manager_engine_charge_action_cb()
H A Dgpm-statistics.c373 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
413 if (kind == UP_DEVICE_KIND_UPS || in gpm_stats_update_info_page_details()
421 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
436 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
H A Dgpm-tray-icon.c349 dev_cnt += gpm_tray_icon_add_device (icon, menu, array, UP_DEVICE_KIND_UPS); in gpm_tray_icon_create_menu()
H A Dgpm-prefs-core.c732 if (kind == UP_DEVICE_KIND_UPS) in gpm_prefs_init()
/dports/sysutils/xfce4-power-manager/xfce4-power-manager-4.16.0/src/
H A Dxfpm-battery.c104 if (battery->priv->type == UP_DEVICE_KIND_BATTERY || battery->priv->type == UP_DEVICE_KIND_UPS) in G_DEFINE_TYPE_WITH_PRIVATE()
216 battery->priv->type == UP_DEVICE_KIND_UPS ) in xfpm_battery_notify_state()
296 battery->priv->type == UP_DEVICE_KIND_UPS ) in xfpm_battery_refresh()
H A Dxfpm-power.c353 type == UP_DEVICE_KIND_UPS ) in xfpm_power_report_error()
555 type != UP_DEVICE_KIND_UPS && in xfpm_power_get_current_charge_state()
892 device_type == UP_DEVICE_KIND_UPS || in xfpm_power_add_device()
1417 type == UP_DEVICE_KIND_UPS ) in xfpm_power_has_battery()
/dports/sysutils/gnome-control-center/gnome-control-center-41.2/panels/power/
H A Dcc-battery-row.c195 case UP_DEVICE_KIND_UPS: in kind_to_description()
260 is_kind_battery = (kind == UP_DEVICE_KIND_BATTERY || kind == UP_DEVICE_KIND_UPS); in cc_battery_row_new()
H A Dcc-power-panel.c333 "kind", UP_DEVICE_KIND_UPS, in up_client_changed()
351 if (kind == UP_DEVICE_KIND_UPS) in up_client_changed()
401 else if (kind == UP_DEVICE_KIND_UPS && on_ups) in up_client_changed()
622 if (kind == UP_DEVICE_KIND_UPS || in set_ac_battery_ui_mode()
/dports/sysutils/xfce4-power-manager/xfce4-power-manager-4.16.0/common/
H A Dxfpm-power-common.c46 case UP_DEVICE_KIND_UPS: in xfpm_power_translate_device_type()
244 else if ( type == UP_DEVICE_KIND_UPS ) in get_device_icon_name()
/dports/sysutils/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5/plugins/power/
H A Dgpm-common.c573 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_localised_string()
637 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_icon()
811 if (kind == UP_DEVICE_KIND_UPS) { in gpm_device_to_localised_string()
H A Dcsd-power-manager.c483 } else if (kind == UP_DEVICE_KIND_UPS || in engine_get_warning()
614 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_CRITICAL, FALSE); in engine_get_icon()
628 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_LOW, FALSE); in engine_get_icon()
642 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_NONE, TRUE); in engine_get_icon()
650 icon = engine_get_icon_priv (manager, UP_DEVICE_KIND_UPS, WARNING_NONE, FALSE); in engine_get_icon()
1069 if (kind != UP_DEVICE_KIND_UPS) in engine_ups_discharging()
1248 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_low()
1409 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_critical()
1517 case UP_DEVICE_KIND_UPS: in engine_charge_critical()
1602 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_action()
/dports/sysutils/upower/upower-0.99.13/src/linux/
H A Dup-device-hid.c352 "type", UP_DEVICE_KIND_UPS, in up_device_hid_coldplug()
454 if (type != UP_DEVICE_KIND_UPS) in up_device_hid_get_on_battery()
H A Dintegration-test82 UP_DEVICE_KIND_UPS,
881 self.assertEqual(self.get_dbus_dev_property(ups0_up, 'Type'), UP_DEVICE_KIND_UPS)
/dports/sysutils/upower/upower-0.99.13/src/
H A Dup-daemon.c195 if (kind == UP_DEVICE_KIND_UPS) { in up_daemon_update_display_battery()
309 if (daemon->priv->kind != UP_DEVICE_KIND_UPS && in up_daemon_get_warning_level_local()
313 if (daemon->priv->kind == UP_DEVICE_KIND_UPS && in up_daemon_get_warning_level_local()
670 } else if (kind == UP_DEVICE_KIND_UPS) { in up_daemon_compute_warning_level()
/dports/sysutils/gnome-settings-daemon/gnome-settings-daemon-3.38.2/plugins/power/
H A Dgsd-power-manager.c265 kind == UP_DEVICE_KIND_UPS || in engine_device_add()
389 if (kind != UP_DEVICE_KIND_UPS) in engine_ups_discharging()
467 kind == UP_DEVICE_KIND_UPS) in engine_device_debounce_warn()
531 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_low()
687 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_critical()
815 case UP_DEVICE_KIND_UPS: in engine_charge_critical()
875 } else if (kind == UP_DEVICE_KIND_UPS) { in engine_charge_action()
961 if (kind != UP_DEVICE_KIND_UPS) in engine_device_warning_changed_cb()
968 kind == UP_DEVICE_KIND_UPS) in engine_device_warning_changed_cb()
/dports/sysutils/gnome-power-manager/gnome-power-manager-3.32.0/src/
H A Dgpm-statistics.c234 case UP_DEVICE_KIND_UPS: in gpm_device_kind_to_localised_string()
590 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
630 if (kind == UP_DEVICE_KIND_UPS || in gpm_stats_update_info_page_details()
638 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
653 kind == UP_DEVICE_KIND_UPS) { in gpm_stats_update_info_page_details()
/dports/sysutils/xfce4-power-manager/xfce4-power-manager-4.16.0/panel-plugins/power-manager-plugin/
H A Dpower-manager-button.c206 if (type == UP_DEVICE_KIND_BATTERY || type == UP_DEVICE_KIND_UPS) in get_display_device()

12