-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Bug]: Missing android.permission.PACKAGE_USAGE_STATS permission #2269
Labels
Comments
Have you granted Termux |
Yes |
AdamMickiewich
pushed a commit
to VolyaTeam/dzida-app
that referenced
this issue
Aug 8, 2022
The permission can be granted from `Android Settings` -> `System` -> `Usage Access`. Closes termux#2269
shrihankp
pushed a commit
to reisxd/termux-app
that referenced
this issue
Oct 20, 2022
The permission can be granted from `Android Settings` -> `System` -> `Usage Access`. Closes termux#2269
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
When I tried to run
/system/bin/dumpsys batterystats
on my device, I got this:Permission Denial: can't dump OppoBatteryStatsService from from pid=5147, uid=10349 due to missing android.permission.PACKAGE_USAGE_STATS permission
Termux app does not request
android.permission.PACKAGE_USAGE_STATS
permission, so this command failsSteps to reproduce the behavior.
Run
/system/bin/dumpsys batterystats
What is the expected behavior?
Command works properly
System information
The text was updated successfully, but these errors were encountered: