'\" t .\" Title: nut-upower .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 04/07/2026 .\" Manual: NUT Manual .\" Source: Network UPS Tools 2.8.5 .\" Language: English .\" .TH "NUT\-UPOWER" "8" "04/07/2026" "Network UPS Tools 2\&.8\&.5" "NUT Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" nut-upower \- Driver for UPower devices via D\-Bus .SH "SYNOPSIS" .sp \fBnut\-upower\fR \-h .sp \fBnut\-upower\fR \-a \fIUPS_NAME\fR [\fIOPTIONS\fR] .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br .sp This man page only documents the specific features of the \fBnut\-upower\fR driver\&. For information about the core driver, see \fBnutupsdrv\fR(8)\&. .sp .5v .RE .SH "DESCRIPTION" .sp This driver allows the monitoring of power devices (UPS, batteries) that are managed by the UPower daemon via the D\-Bus system bus\&. .sp It maps UPower properties (state, percentage, voltage, etc\&.) to standard NUT variables, allowing NUT clients to monitor devices that are natively supported by the OS desktop environment but not directly by other NUT drivers\&. .SH "EXTRA ARGUMENTS" .sp This driver supports the following optional settings in \fBups.conf\fR(5): .PP \fBport\fR .RS 4 The UPower Object Path of the device to monitor\&. .RE .sp If set to auto (the default), the driver will scan for the first UPower device whose object path contains the string "ups_"\&. .sp If set to a specific path (e\&.g\&., /org/freedesktop/UPower/devices/ups_hiddev0), the driver will attempt to monitor that specific device\&. .PP \fBlowbatt\fR .RS 4 The battery percentage threshold below which the LB (Low Battery) status flag is set\&. The default value is 20\&.0\&. .RE .SH "INSTALLATION" .sp To use this driver, add a section to your \fBups\&.conf\fR: .sp .if n \{\ .RS 4 .\} .nf [myups] driver = nut\-upower port = auto lowbatt = 20 desc = "Laptop Battery or generic UPS via UPower" .fi .if n \{\ .RE .\} .SH "REQUIREMENTS" .sp This driver requires the upower daemon to be running and accessible via the D\-Bus system bus\&. It also requires GLib 2\&.0 and GIO libraries\&. .SH "AUTHOR" .sp Tim Niemueller .SH "SEE ALSO" .sp \fBups.conf\fR(5), \fBnutupsdrv\fR(8), \fBupsc\fR(8) .SS "Internet Resources:" .sp The NUT (Network UPS Tools) home page: https://www\&.networkupstools\&.org/historic/v2\&.8\&.5/