With StateFS deprecation, would be great to know how the same statistics can be gathered in the system. Interest stems from collectd which is using stateFS for several readouts. As collectd is C daemon, I am looking for something that can be read out from pure C and available for regular users, not root.
Readouts I am interested in:
- ChargePercentage, Capacity, Current, Energy, Power, Temperature, TimeUntilFull, TimeUntilLow, Voltage
- Connected, Enabled, Visible
- Technology, SignalStrength
- NetworkState, NetworkType, SignalStrength
Whether it is possible to use StateFS on 3.4.0 and later releases, I don’t know.