CMOS-battery status missing in "inxi -B"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
inxi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Feature Request!
Hi togehther,
I'm missing an output of the status of the CMOS-battery. Paket lm-seonsors is installed.
It would be nice, if inxi could provide that information, too, perhaps even the value of the voltage.
Terminal-output on my system:
{{{
~$ inxi -B
Battery:
Message: No system battery data found. Is one present?
}}}
{{{
~$ cat /proc/driver/rtc | grep batt_status
batt_status : okay
}}}
Thanks for your work, I like inxi really.
Regards
M. Sprau
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: inxi 3.0.38-1-0ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-48-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 7 09:14:38 2020
InstallationDate: Installed on 2020-05-23 (136 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: inxi
UpgradeStatus: No upgrade log present (probably fresh install)
This is not a valid issue, and it's not a bug. Also, the poster didn't read the help/man at all, since to see other device batteries listed, you have to use -Bx, not -B alone. -B alone only shows results for laptop batteries, basically. If -Bx does not show the cmos battery, then inxi can't find it, the data is not anywhere it can locate. If -Bx shows the device battery then obviously the issue is completely invalid in the first place, and if it doesn't, it means inxi has no access to it, which means the issue is invalid. /proc is not used to get battery data, that comes from /sys.