reformat with latest settings
Reformat with the latest settings from openbmc-build-scripts (and
copy latest config files where appropriate). Fix a few minor
markdownlint issues.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I55205817c29dc3f182a165ddf9cd5d4e07b90063
diff --git a/yaml/org/freedesktop/UPower/Device.interface.yaml b/yaml/org/freedesktop/UPower/Device.interface.yaml
index cb1ef82..b98c120 100644
--- a/yaml/org/freedesktop/UPower/Device.interface.yaml
+++ b/yaml/org/freedesktop/UPower/Device.interface.yaml
@@ -28,17 +28,21 @@
- name: resolution
type: uint32
description: >
- "The approximate number of points to return. A higher resolution is
+ "The approximate number of points to return. A higher resolution
+ is
more accurate, at the expense of plotting speed."
returns:
- name: data
type: array[struct[uint32, double, uint32]]
description: >
"The history data for the power device, if the device supports
- history. Data is ordered from the earliest in time, to the newest
+ history. Data is ordered from the earliest in time, to the
+ newest
data point. Each element contains the following members:
- time: The time value in seconds from the gettimeofday() method.
- value: The data value, for instance the rate in W or the charge
+ time: The time value in seconds from the gettimeofday()
+ method.
+ value: The data value, for instance the rate in W or the
+ charge
in %.
state: The state of the device, for instance charging or
discharging."
@@ -57,7 +61,8 @@
- name: data
type: array[struct[double, double]]
description: >
- "The statistics data for the power device. Each element contains the
+ "The statistics data for the power device. Each element contains
+ the
following members:
value: The value of the percentage point, usually in seconds.
accuracy: The accuracy of the prediction in percent."
@@ -277,7 +282,8 @@
description: >
"Level of the battery:
0: Unknown
- 1: None (the battery does not use a coarse level of battery reporting)
+ 1: None (the battery does not use a coarse level of battery
+ reporting)
3: Low
4: Critical
6: Normal