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

Constraint for charging / on battery power #989

Closed
4 tasks done
t184256 opened this issue May 3, 2022 · 2 comments
Closed
4 tasks done

Constraint for charging / on battery power #989

t184256 opened this issue May 3, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@t184256
Copy link

t184256 commented May 3, 2022

I found myself wishing for a "wired ADB debugging connected" constraint,
but that's rather niche,
and I think I could readily approximate it with a more commonplace "charging" constraint.

Developer TODO (don't remove)

  • create new branch. put issue number at start of name
  • update documentation
  • squash and merge
  • delete branch
@t184256 t184256 added the enhancement New feature or request label May 3, 2022
@GL513
Copy link
Contributor

GL513 commented May 4, 2022

(Heads up, Im not the developer)

Hello. I think it would be easy to get the value of the ADB debugging, but wether its wired or wireless might be a challange.
All that would need to happen for ADB in general is reading a secure setting.
If you wanted to, you could use keymapper to run a shortcut to Tasker or AutoMate and have that application do its own "constraint".

I thought we did have a charging constraint but it appears not...
Im not sure exactly how that works, but I do know that even if these do get done, it might be a while before its finished and bug free.

Thanks for the feedback :)

@sds100
Copy link
Collaborator

sds100 commented May 21, 2022

implemented

@sds100 sds100 closed this as completed May 21, 2022
Repository owner moved this from In Progress to Done in Key Mapper 2.4 May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants