termux-notification led not activated (Android 8.1.0, Termux suite from FDroid)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Using LineageOS 15.1 (Android 8.1.0), Termux suite from FDroid.
termux-notification ---led-color FF8800 --led-on 300 --led-off 700 --title Coucou --content "C'est nous !"
Gives me no led blinks at all.
Android 8.1.0 allow to setup colors and blink schemes from Android settings, on a per application basis. Unfortunately, the notifications are coming from Termux:API with is not in the list of configurable applications for this usage (while Termux, and Termux:Boot are…).
I made a small python script to check periodically if the phone gets GSM signal or not, setting a notification if there is no signal, and I wish to have a blinking notification led for that. The whole system is pointed out by Android as consuming too much battery, while my script is mainly a while loop with a sleep(60) in it, and no wake-lock willingly acquired
In the same area, I did set a 0,0,0 vibrate scheme, and still the notification is augmented by Android with a vibration ; one may know that LineageOS used to vibrate when the phone looses signal, and it's exactly the contrary that I try to configure.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the termux-notification command on Android 8.1.0 and compare Termux:API notification behavior with the Android notification settings for Termux. Investigate how the notification's LED and vibration configuration is handled; done means the requested LED blink works and the configured zero-vibration behavior is respected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100