avos
bfe253bacb
powerd(8): allow to force a method of battery state query
...
This change allows to determine power source via sysctl or /dev/apm
when devd(8) is running (used by default).
Based on patch from PR; other changes on top of it:
- '-f' (force) -> '-s' (source) parameter renaming;
- allow 'apm' -> 'devd' transition when '-s devd' is set
(if APM is enabled);
- man page update.
Checked on amd64 with -s devd / sysctl and apm
(an extra build with forced USE_APM define set was done)
PR: 125707
Submitted by: Konstantin Stepanov <milezv@yandex.ru>
Reviewed by: bcr, imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18742
2019-01-06 02:39:03 +00:00
..
2017-11-27 15:37:16 +00:00
2017-11-20 19:49:47 +00:00
2018-12-27 08:48:54 +00:00
2017-11-27 15:37:16 +00:00
2018-09-18 00:32:10 +00:00
2017-11-18 14:26:50 +00:00
2017-10-31 00:07:04 +00:00
2018-07-26 16:51:23 +00:00
2018-03-28 23:33:26 +00:00
2017-10-31 00:07:04 +00:00
2018-08-11 13:23:09 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-12-28 15:11:22 +00:00
2019-01-04 15:03:35 +00:00
2018-06-13 03:35:24 +00:00
2018-09-01 02:23:45 +00:00
2018-07-20 22:50:21 +00:00
2017-10-31 00:07:04 +00:00
2018-07-31 16:39:38 +00:00
2018-08-26 02:09:20 +00:00
2018-11-27 14:58:19 +00:00
2017-10-31 00:07:04 +00:00
2018-12-19 21:56:54 +00:00
2018-12-31 00:26:35 +00:00
2018-08-22 19:38:48 +00:00
2017-12-28 05:33:19 +00:00
2018-07-30 15:46:40 +00:00
2017-10-31 00:07:04 +00:00
2017-11-27 15:37:16 +00:00
2018-09-26 18:40:57 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-12-22 06:08:06 +00:00
2018-11-14 00:21:49 +00:00
2018-07-23 18:08:56 +00:00
2018-09-06 14:55:54 +00:00
2018-08-19 07:12:35 +00:00
2018-12-21 17:22:15 +00:00
2018-11-30 19:40:16 +00:00
2018-10-27 05:26:09 +00:00
2018-11-09 13:47:06 +00:00
2017-11-18 14:26:50 +00:00
2018-08-23 05:05:47 +00:00
2018-05-30 15:08:59 +00:00
2018-01-06 12:34:03 +00:00
2018-01-05 08:29:32 +00:00
2017-10-31 00:07:04 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2019-01-01 04:57:46 +00:00
2018-01-05 07:09:24 +00:00
2018-10-26 23:44:39 +00:00
2018-11-27 10:31:29 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-01-05 07:28:48 +00:00
2017-12-05 05:02:46 +00:00
2017-11-27 15:37:16 +00:00
2017-11-30 20:33:45 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2018-10-31 17:37:54 +00:00
2018-12-06 00:09:39 +00:00
2017-10-31 00:07:04 +00:00
2018-01-05 05:34:20 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-06-06 18:52:33 +00:00
2017-11-27 15:37:16 +00:00
2018-08-21 11:22:49 +00:00
2017-10-31 00:07:04 +00:00
2017-11-27 15:37:16 +00:00
2018-01-05 07:28:58 +00:00
2018-08-12 13:29:40 +00:00
2018-08-20 13:42:22 +00:00
2017-10-31 00:07:04 +00:00
2017-11-20 19:49:47 +00:00
2018-05-28 09:41:44 +00:00
2018-11-30 19:40:16 +00:00
2018-11-27 17:51:50 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2017-12-28 05:34:04 +00:00
2017-11-27 15:37:16 +00:00
2018-11-09 15:02:53 +00:00
2018-10-20 17:22:04 +00:00
2018-09-20 09:21:05 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2018-01-02 16:50:57 +00:00
2018-07-26 13:33:10 +00:00
2017-10-31 00:07:04 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:37:16 +00:00
2018-11-27 10:31:29 +00:00
2018-10-13 02:21:23 +00:00
2017-10-31 00:07:04 +00:00
2018-05-11 19:37:18 +00:00
2018-03-08 15:28:13 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2018-12-06 18:21:48 +00:00
2018-10-22 02:34:10 +00:00
2018-05-23 09:46:21 +00:00
2017-11-27 15:37:16 +00:00
2018-02-23 17:20:53 +00:00
2018-05-19 20:57:22 +00:00
2017-11-27 15:37:16 +00:00
2017-12-26 16:20:38 +00:00
2017-12-28 05:34:14 +00:00
2018-11-03 18:03:24 +00:00
2018-11-29 16:49:56 +00:00
2017-10-31 00:07:04 +00:00
2018-11-04 06:39:01 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-08-28 15:18:14 +00:00
2018-10-26 19:16:17 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-11-27 09:41:47 +00:00
2018-11-14 18:38:27 +00:00
2017-10-31 00:07:04 +00:00
2017-11-27 15:28:26 +00:00
2018-08-03 18:35:20 +00:00
2018-12-15 23:20:08 +00:00
2018-07-31 16:42:03 +00:00
2018-10-01 16:16:05 +00:00
2018-05-18 14:14:04 +00:00
2018-09-24 19:06:09 +00:00
2018-06-07 02:03:22 +00:00
2017-10-31 00:07:04 +00:00
2018-08-08 20:30:12 +00:00
2018-07-01 17:51:52 +00:00
2018-07-10 18:44:44 +00:00
2017-10-31 00:07:04 +00:00
2018-10-25 08:05:53 +00:00
2019-01-06 02:39:03 +00:00
2018-09-19 07:09:55 +00:00
2018-01-29 14:23:44 +00:00
2017-10-31 00:07:04 +00:00
2018-06-17 17:31:16 +00:00
2017-10-31 00:07:04 +00:00
2017-11-20 19:49:47 +00:00
2018-10-21 14:23:56 +00:00
2018-10-21 00:48:38 +00:00
2018-12-14 18:38:10 +00:00
2018-12-06 00:09:39 +00:00
2017-11-20 19:49:47 +00:00
2017-12-13 16:13:17 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2018-06-29 21:15:17 +00:00
2018-08-08 20:15:40 +00:00
2017-12-27 03:23:01 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:37:16 +00:00
2017-11-18 14:26:50 +00:00
2017-11-18 14:26:50 +00:00
2017-11-18 14:26:50 +00:00
2018-03-19 05:49:26 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2018-11-03 18:03:24 +00:00
2017-11-27 15:37:16 +00:00
2019-01-05 16:05:39 +00:00
2018-11-04 19:24:49 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2018-06-13 06:11:04 +00:00
2018-09-06 18:34:11 +00:00
2017-10-31 00:07:04 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-06-23 23:08:25 +00:00
2017-11-27 15:37:16 +00:00
2018-03-05 16:13:29 +00:00
2018-08-25 20:19:16 +00:00
2018-07-16 18:53:17 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-07-10 13:03:06 +00:00
2017-10-31 00:07:04 +00:00
2017-11-27 15:37:16 +00:00
2018-05-02 19:36:46 +00:00
2018-02-16 20:46:44 +00:00
2018-08-09 02:47:22 +00:00
2017-11-27 15:37:16 +00:00
2018-12-19 22:47:37 +00:00
2017-11-27 15:37:16 +00:00
2018-11-02 22:23:25 +00:00
2018-11-27 09:46:01 +00:00
2018-04-29 10:45:09 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-10-20 16:59:43 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2017-12-20 20:25:28 +00:00
2017-11-27 15:37:16 +00:00
2018-02-23 03:11:43 +00:00
2018-12-12 05:18:53 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2017-11-27 15:37:16 +00:00
2017-11-18 14:26:50 +00:00
2018-02-08 14:53:34 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-12-15 21:34:40 +00:00
2018-06-15 17:44:21 +00:00
2018-06-15 17:44:21 +00:00
2018-07-24 20:20:17 +00:00