Message ID | 20230220131018.1708991-1-hadess@hadess.net |
---|---|
State | Accepted |
Commit | f0cf05759497dbc90303adcbdf3d13a54bdaf97b |
Headers | show |
Series | ABI: testing: sysfs-class-power: Document absence of "present" property | expand |
Hi, On Mon, Feb 20, 2023 at 02:10:18PM +0100, Bastien Nocera wrote: > Document how the absence of the "present" property in the sysfs > power_supply class should be handled. > > Link: https://gitlab.freedesktop.org/upower/upower/-/merge_requests/173 > Cc: Mario Limonciello <mario.limonciello@amd.com> > Signed-off-by: Bastien Nocera <hadess@hadess.net> > --- Thanks, queued for v6.3. -- Sebastian > Documentation/ABI/testing/sysfs-class-power | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power > index e434fc523291..7c81f0a25a48 100644 > --- a/Documentation/ABI/testing/sysfs-class-power > +++ b/Documentation/ABI/testing/sysfs-class-power > @@ -437,7 +437,8 @@ What: /sys/class/power_supply/<supply_name>/present > Date: May 2007 > Contact: linux-pm@vger.kernel.org > Description: > - Reports whether a battery is present or not in the system. > + Reports whether a battery is present or not in the system. If the > + property does not exist, the battery is considered to be present. > > Access: Read > > -- > 2.39.1 >
diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power index e434fc523291..7c81f0a25a48 100644 --- a/Documentation/ABI/testing/sysfs-class-power +++ b/Documentation/ABI/testing/sysfs-class-power @@ -437,7 +437,8 @@ What: /sys/class/power_supply/<supply_name>/present Date: May 2007 Contact: linux-pm@vger.kernel.org Description: - Reports whether a battery is present or not in the system. + Reports whether a battery is present or not in the system. If the + property does not exist, the battery is considered to be present. Access: Read
Document how the absence of the "present" property in the sysfs power_supply class should be handled. Link: https://gitlab.freedesktop.org/upower/upower/-/merge_requests/173 Cc: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Bastien Nocera <hadess@hadess.net> --- Documentation/ABI/testing/sysfs-class-power | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)