We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel documentation states regarding the /sys/class/power_supply/<supply_name>/current_now value:
/sys/class/power_supply/<supply_name>/current_now
Negative values are used for discharging batteries, positive values for charging batteries and for USB IBUS current.
However, we currently report positive (or unsigned) values for a battery whether we're charging or discharging.
@crawfxrd says it's a u16 in the code.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Kernel documentation states regarding the
/sys/class/power_supply/<supply_name>/current_now
value:However, we currently report positive (or unsigned) values for a battery whether we're charging or discharging.
@crawfxrd says it's a u16 in the code.
The text was updated successfully, but these errors were encountered: