Commit Graph

57 Commits

Author SHA1 Message Date
Klemens Nanni df93f44eb7 Sync usage with manual
Make spacing, wrapping as well as argument names match.
Much nicer to read on default 80-char wide xterm.
2022-09-09 17:44:08 +02:00
Klemens Nanni f7aed1accb manual: Use default .Ex in EXIT STATUS
No need to spell out manuall as obsdfreqd follows standard semantics.
2022-09-09 17:44:08 +02:00
Klemens Nanni fd9c73695a manual: Fix spelling 2022-09-09 17:44:08 +02:00
Klemens Nanni 690c0e5c8e manual: Fix "mandoc -T lint" errors and warnings 2022-09-09 17:44:08 +02:00
Klemens Nanni 77d28d3bd6 manual: Fix flags markup
SYNOPSIS already tells which flags are optional, so no need to markup each
flag with .Op individually.

Removing that marco also makes tags work, i.e. ":tv<Enter>" in the pager
will no jump to -v.
2022-09-09 17:44:08 +02:00
solene 6831806411 Merge pull request 'Fix markup' (#1) from rjc/obsdfreqd:main into main
Reviewed-on: #1
2022-07-06 16:31:27 +00:00
rjc 462a4212b6 Fix markup 2022-06-24 12:24:40 +00:00
Solene Rapenne d130c0b563 README: update the content to clarify the purpose of obsdfreqd 2022-04-21 21:27:01 +02:00
Solene Rapenne feb3ac237a obsdfreqd: explicitely initialize current_mode to battery mode 2022-04-09 17:19:16 +02:00
Solene Rapenne dc5448729f makefile: make it compliant for ports infrastructure 2022-04-07 21:37:11 +02:00
Solene Rapenne 513852b740 README: give information about minimal OpenBSD version supported 2022-03-26 13:01:48 +01:00
Solene Rapenne 815c6a4ab6 obsdfreqd: use sysctl to get temperature, reenable unveil. Thanks trondd! 2022-03-21 23:11:24 +01:00
Solene Rapenne 1537362ac3 obsdfreqd: reduce temperature polling frequency 2022-03-21 18:20:59 +01:00
Solene Rapenne 4c92e41641 obsdfreqd: fix maximum frequency not working with -T 2022-03-21 18:20:32 +01:00
Solene Rapenne 287a17e12f obsdfreqd: increase wall profile inertia 2022-03-21 17:31:37 +01:00
Solene Rapenne 4a0fca281e obsdfreqd: enhance code lisibility 2022-03-21 17:30:52 +01:00
Solene Rapenne 9771c480d7 README: add TLDR 2022-03-21 17:24:31 +01:00
Solene Rapenne 6ff783beef obsdfreqd: cleaning useless lines 2022-03-21 17:21:04 +01:00
Solene Rapenne faa645b825 obsdfreqd: new -T flag for temperature 2022-03-21 17:20:51 +01:00
Solene Rapenne d285ca88ee obsdfreqd: replace quiet flag by verbose flag 2022-03-21 17:20:19 +01:00
Solene Rapenne 90fcf8b5a5 obsdfreqd: temperature parameter support both profiles 2022-03-21 17:06:10 +01:00
Solene Rapenne a3825ec9ef obsdfreqd: move temperature code before setting the frequency 2022-03-21 16:50:12 +01:00
Solene Rapenne 5cde001cad obsdfreqd: use correct defaults for both powerplug and battery 2022-03-21 16:49:49 +01:00
Solene Rapenne 8138a482f9 obsdfreqd: cleaning useless variable 2022-03-21 16:49:26 +01:00
Solene Rapenne d5eab5858e obsdfreqd: avoid useless variables 2022-03-21 16:38:05 +01:00
Solene Rapenne 6cf98a74a7 obsdfreqd: try a temperature target 2022-03-21 16:36:03 +01:00
Solene Rapenne a1a978ce6e obsdfreqd: bugfix: no need to reassign mode values every cycle 2022-03-21 09:25:09 +01:00
Solene Rapenne 4555587f47 documentation: warn about running apmd 2022-03-18 10:00:36 +01:00
Solene Rapenne dbcb92ce25 obsdfreqd: make inertia dynamic 2022-03-17 21:18:53 +01:00
Solene Rapenne 0c38ac77f6 obsdfreqd: change the output to be CSV compatible 2022-03-17 21:18:32 +01:00
prx 3bd5463dfe obsdfreqd: cleaner code 2022-03-17 14:49:15 +01:00
Solene Rapenne ba0a41afd9 obsdfreqd: add man page 2022-03-16 23:01:04 +01:00
Solene Rapenne 706e252ea0 obsdfreqd: add rc file and install instructions 2022-03-16 22:45:45 +01:00
Solene Rapenne 4e5fd1f43b obsdfreqd: exit gracefully on SIGTERM 2022-03-16 22:45:21 +01:00
Solene Rapenne 7cbce1eb9d README: tweak a power profile 2022-03-16 22:16:55 +01:00
Solene Rapenne a586f20c97 README: add information about dual modes profiles 2022-03-16 22:13:33 +01:00
Solene Rapenne 9af4da9700 obsdfreqd: support parameters to manage wall plugged and battery mode when switching 2022-03-16 22:05:59 +01:00
Solene Rapenne f81ca8becd README: tweak power profile performance 2022-03-16 20:28:36 +01:00
Solene Rapenne 85984f762f obsdfreqd: add quiet mode 2022-03-16 20:27:23 +01:00
Solene Rapenne 0c8a6bd4cd README: some flags were missing defaults value 2022-03-16 20:23:36 +01:00
Solene Rapenne 018a7af469 README: add power profiles examples 2022-03-16 20:21:10 +01:00
Solene Rapenne 0166914266 obsdfreqd: add inertia and decaying system 2022-03-16 20:15:15 +01:00
Solene Rapenne 0d142b96af obsdfreqd: rename variable to be more explicit 2022-03-16 19:52:51 +01:00
Solene Rapenne bfd5d3a732 obsdfreqd: add -t flag to choose poll frequency 2022-03-16 19:50:44 +01:00
Solene Rapenne 0a8bd1c5e2 obsdfreqd: add unveil support 2022-03-16 19:49:28 +01:00
Solene Rapenne ca37724761 obsdfreqd: add usage() 2022-03-16 19:40:40 +01:00
Solene Rapenne 0119fb2b17 obsdfreqd: fix a warning 2022-03-16 19:40:07 +01:00
Solene Rapenne 3b010eaaf6 makefile: link to maths lib for round 2022-03-16 19:36:23 +01:00
Solene Rapenne b2807f2797 obsdfreqd: add flags and usage 2022-03-16 19:36:06 +01:00
Solene Rapenne 667f5493bc README: one more use case 2022-03-16 18:48:12 +01:00