summaryrefslogtreecommitdiff
path: root/src/openbsd
AgeCommit message (Expand)AuthorFilesLines
2013-01-14Don't use the deprecated INCLUDES in Makefile.amRichard Hughes1-1/+1
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 Breuil3-23/+22
2012-01-06openbsd: Fix history by not trying to refresh if /dev/apm wasn't opened yetLandry Breuil1-2/+5
2011-07-19Use git.mk and remove the manual .gitignore filesRichard Hughes1-0/+1
2011-05-31Add openbsd missing includes for close() and strcmp()Landry Breuil1-0/+2
2011-05-31Silence some openbsd warnings about unused vars and bad return valuesLandry Breuil1-5/+5
2011-05-17Ensure up-apm-native.h gets shipped in the tarballRichard Hughes1-0/+1
2011-03-21openbsd: fix warning, and set lid-present to noLandry Breuil1-2/+3
2011-03-21openbsd: Add licence headers..Landry Breuil3-0/+63
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-21trivial: move #includesLandry Breuil2-3/+4
2011-03-21openbsd: rename get_sensor() to get_sensordev() for the sake of clarityLandry Breuil2-3/+3
2011-03-21openbsd: rename has_sensor() to get_sensor() and use it to grab the sensordev...Landry Breuil2-9/+12
2011-03-21openbsd: add up_native_has_sensor() and use it in is_laptop()Landry Breuil2-0/+34
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
2011-03-21openbsd: set has-history & has-statistics to TRUELandry Breuil1-2/+2
2011-03-21openbsd: add up_native_is_laptop()Landry Breuil1-0/+19
2011-03-21openbsd: Move os-specific headers inclusion to up-apm-native.hLandry Breuil2-11/+13
2011-03-21openbsd: update ac online status tooLandry Breuil1-6/+10
2011-03-21openbsd: cast battery_life to gdoubleLandry Breuil1-3/+1
2011-03-21openbsd: Don't update percentage, probably missing a castLandry Breuil1-14/+19
2011-03-21openbsd: Use separate 'static' devices for ac and batteryLandry Breuil3-36/+61
2011-03-21openbsd: add dumb ApmNative gobjectLandry Breuil1-1/+49
2011-03-21openbsd: fetch batt info from APM_IOC_GETPOWER ioctl()Landry Breuil1-2/+44
2011-03-21openbsd: do a delayed add for device coldplugging, and emit device-added signalLandry Breuil1-0/+18
2011-03-21trivial: actually return a stringLandry Breuil1-1/+1