termux / termux/termux-api

A way to get watch battery information

Open
#385 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Feature description

Provide a way to get watch's battery state, with the same reason wy we would want phone's battery state.

Reference implementation

Have you checked if the feature is accessible through the Android API?
Not really, but it's seems clear we will need a termux:API variant for wear os.
See https://stackoverflow.com/questions/25884383/get-battery-level-of-connected-smartwatches

Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
Not in open source, but you may want to talk with the developer of this app to get some help if needed :
Phone battery, it adds a widget to see the watch battery state: https://play.google.com/store/apps/details?id=com.ppltalkin.phonebatterylevel
developer's registered mail: ppltalkin@gmail.com

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking whether the Android or Wear OS API exposes the connected watch's battery state, using the linked Stack Overflow discussion and reference app for context. Done means providing a Termux:API variant that lets callers retrieve the watch battery state, with behavior documented or tested as appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.