Skip to content
New issue

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

Add voltage data to termux-battery-status #578

Open
cledsupper opened this issue Jan 25, 2023 · 1 comment
Open

Add voltage data to termux-battery-status #578

cledsupper opened this issue Jan 25, 2023 · 1 comment

Comments

@cledsupper
Copy link

Feature description
Add the voltage attribute in JSON data returned by termux-battery-status command.

I need this data for getting rid of difficulties lead by ADB configuration in an application prototype I'm developing with Termux:API, the MoniBat.

Reference implementation

Here is an Android Developer documentation which shows the voltage data can be obtained by the Intent.ACTION_BATTERY_CHANGED: BatteryManager.

@uncharted9898
Copy link

uncharted9898 commented Sep 6, 2023

Edit: Solved
#623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants