summaryrefslogtreecommitdiff
path: root/src/openbsd/up-backend.c
AgeCommit message (Expand)AuthorFilesLines
2019-02-21Replace use of G_TYPE_INSTANCE_GET_PRIVATEChristian Kellner1-3/+1
2019-02-21Replace use of deprecated g_type_class_add_privateChristian Kellner1-3/+1
2017-09-08openbsd: Remove SENSOR_MAX_TYPES upper boundJasper Lievisse Adriaanse1-1/+1
2015-07-29daemon: remove custom marshal setupCosimo Cecchi1-3/+2
2015-07-07bsd: Add critical action support for *BSDEric Koegel1-13/+31
2014-11-26daemon: release resources at shutdownPeter Wu1-0/+16
2014-10-08all: convert value from g_get_real_time() to secondsEvangelos Foutras1-2/+2
2014-09-24all: Use g_get_real_time() when possibleBastien Nocera1-9/+6
2014-06-30openbsd: Expose "capacity" and "energy-full-design" propertiesFabian Raetz1-3/+17
2014-04-22Update lid status when updating ac status.Jasper Lievisse Adriaanse1-2/+68
2013-10-17all: Add GetCriticalAction daemon methodBastien Nocera1-0/+13
2013-10-14daemon: Add CriticalPowerActionBastien Nocera1-0/+11
2013-10-14daemon: Replace "on-low-battery" propertyBastien Nocera1-25/+0
2013-10-14daemon: Remove unneeded reset of priv struct membersBastien Nocera1-4/+0
2013-10-14daemon: Remove obsolete featuresBastien Nocera1-70/+0
2013-10-14daemon: Simplify _new() functionsBastien Nocera1-3/+1
2013-10-14openbsd: Use g_thread_try_new()Landry Breuil1-1/+1
2013-10-14openbsd: recognize when battery is absent or fully chargedJasper Lievisse Adriaanse1-2/+36
2013-09-18openbsd: Do not call g_thread_init()Richard Hughes1-1/+0
2012-07-11Use systemd for suspend and hibernateMatthias Clasen1-0/+6
2012-06-27openbsd: Properly initialize update-time when creating devicesLandry Breuil1-0/+4
2012-01-06openbsd: set powersave command to apm -C/-ALandry Breuil1-1/+5
2012-01-06openbsd: no need to pass the fd aroundLandry Breuil1-9/+6
2012-01-06openbsd: handle case where minutes_left might be negativeLandry Breuil1-2/+2
2012-01-06openbsd: improve logic wrt sensor typeLandry Breuil1-15/+5
2012-01-06openbsd: fix energy-rate calculationLandry Breuil1-3/+5
2012-01-06openbsd: use a singleton pattern to access /dev/apmLandry Breuil1-15/+4
2012-01-06openbsd: Fix history by not trying to refresh if /dev/apm wasn't opened yetLandry Breuil1-2/+5
2011-05-31Silence some openbsd warnings about unused vars and bad return valuesLandry Breuil1-5/+5
2011-03-21openbsd: fix warning, and set lid-present to noLandry Breuil1-2/+3
2011-03-21openbsd: Add licence headers..Landry Breuil1-0/+21
2011-03-21openbsd: handle case when power is reported directly as WhLandry Breuil1-10/+25
2011-03-21openbsd: Add up_apm_device_refresh callback to device classLandry Breuil1-22/+69
2011-03-21openbsd: wip on acpibat_state, need to sort wh/ah unitsLandry Breuil1-1/+25
2011-03-21openbsd: add up_backend_update_acpibat_state() and call it if acpibat0 device...Landry Breuil1-0/+28
2011-03-21openbsd: assign callbacks to ac/batt device classLandry Breuil1-3/+6
2011-03-21openbsd: rip of get_on_battery/get_low_battery/get_online from freebsd backendLandry Breuil1-1/+80
2011-03-21trivial: fix indentLandry Breuil1-1/+1
2011-03-21openbsd: time-to-empty is in secondsLandry Breuil1-1/+1
2011-03-21trivial: silence warningsLandry Breuil1-4/+4
2011-03-21trivial: return NULL, shouldnt be reached anywayLandry Breuil1-0/+1
2011-03-21openbsd: Declare prototypes for get_power_info/get_battery_state_valueLandry Breuil1-10/+11
2011-03-21openbsd: cast NULL to void* to silence missing sentinel gcc warningsLandry Breuil1-6/+6
2011-03-21openbsd: dont initialize props we wont likely set atmLandry Breuil1-10/+2
2011-03-21openbsd: Update battery properties only if they really changedLandry Breuil1-4/+26
2011-03-21openbsd: update ac state only if state really changedLandry Breuil1-3/+9
2011-03-21openbsd: use g_debug instead of g_message, also log minutes_leftLandry Breuil1-3/+2
2011-03-21openbsd: move batt/ac properties update to their own separate functionsLandry Breuil1-12/+26
2011-03-21openbsd: No need for a delayed callback coldplugging devicesLandry Breuil1-21/+15
2011-03-21openbsd: add is_laptop boolean and only add ac/batt devices if trueLandry Breuil1-35/+44