Commit Graph
8 Commits
Author SHA1 Message Date
Tobias TschinkowitzandAaron Marcher 367f8a8c44 battery: fixed remaining time on connected AC
when an AC is connected apm_info shows a non-valid value for remaining
minutes. it was decided that in that case the function should return an
empty string.
2018-05-18 16:35:32 +02:00
Tobias TschinkowitzandAaron Marcher 8c8326f793 Add battery_remaining function on OpenBSD
Implementation of a battery_remaining function which returns the
remaining battery time in HH:MM format. Linux function still needs
implementation.
Move common code to load_apm_power_info
2018-05-18 15:25:42 +02:00
Tobias TschinkowitzandAaron Marcher 1cb5af98e5 added comment for temp function (openbsd) 2018-05-17 17:13:28 +02:00
Tobias TschinkowitzandAaron Marcher 0f46c675d3 corrected calculations for disk space on openbsd 2018-05-17 14:36:37 +02:00
Tobias TschinkowitzandAaron Marcher 1fc5cf0016 added wifi functionality for openbsd
display ESSID and signal strength percentage
2018-05-16 22:52:14 +02:00
Tobias TschinkowitzandAaron Marcher c1f79d741a corrected calculation for swap on openbsd
The swapctl(2) function fills the swapent struct with 512KB blocks.
As we want to display in GB, i just modified the calculation for this to
get the expected output.
2018-05-16 19:17:49 +02:00
Tobias TschinkowitzandAaron Marcher 82eb6e3832 consistent calculation of ram_* on openbsd 2018-05-16 12:24:43 +02:00
Tobias TschinkowitzandAaron Marcher 0f9a1a8367 updated ram_total and ram_free (obsd) 2018-05-16 08:08:48 +02:00