/[base]
ViewVC logotype

Revision 342983


Jump to revision: Previous Next
Author: avos
Date: Sun Jan 13 02:27:10 2019 UTC (5 years, 5 months ago)
Changed paths: 3
Log Message:
MFC r342810:
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.

PR:		125707
Submitted by:	Konstantin Stepanov <milezv@yandex.ru>
Reviewed by:	bcr, imp
Differential Revision:	https://reviews.freebsd.org/D18742


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/usr.sbin/powerd/powerd.8 modified , text changed
Directorystable/10/usr.sbin/powerd/powerd.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27