Oneplus 5: change the charging LED color triggers - LineageOS Questions & Answers

I've installed LineageOS 20 on my Oneplus 5 but the charging light is green instead of red like on the stock rom.
I couldn't find which file or part of the code was handling the color of the led during charging.
Could you give me a hint?
Where is the git repo that handles the hardware of the oneplus 5? (led, switches ...)
Thanks!

Not sure if that helps you in finding the place of the code but the settings are in battery > battery light:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I have the same settings, then there is a bug because even at 19% it's green...

Related

[Q] NFC and S Beam Quick Toggle

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Attached is an image of my NFC and S Beam quick toggle, dimly lit. Both are turned off in settings. It persists through boots but not through flashes, though it comes back eventually. I'm on Clean Rom 4.9 though I first noticed it on 4.8. Any idea what this means?

[App] Flash Light for Small App

New Flash light for Small App:
- Nice design.
- Work when go to home screen or screen off
- Convenient widget
- Can control frequency strobe led.
A very useful small app
https://play.google.com/store/apps/details?id=com.lvp.torchpro
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks
who have any idea to improve app?
please tell me.
Try add option control led brightness.

Problems with Mi A2 Lite (Android P)

1) When the battery reaches 39%, the notification LED starts to flash. Is possible to disable this function?
2) I can't see videos in full screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3) I'm almost sure that the bluetooth signal isn't stable. When i listen music in the car the audios isn't stable (no problems with android 8)

Choose notification colour manually

I used to be able to change the notification colour per app in LOS 14.1. Now I have 15.1 on my new X00TD and I don't see this option anymore. I can only change frequency/duration, not the colour (the screenshot is not mine, jsut found a similar one online):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If I search for 'colour' in the settings, I can see a 'Choose colours automatically' item, but if I tap on it, I cannot see that option on the screen that pops up. What am I missing?

[JB] [Cydia] Amber - iPhone brighter flashlight

Hello,
Quick steps to get brighter flashlight using all iPhone's LEDs :
1) Add PoomSmart's repo to cydia cydia://url/https://cydia.saurik.com/api/share#?source=https://poomsmart.github.io/repo/
2) Install Amber from cydia https://www.ios-repo-updates.com/repository/poomsmart/package/com.ps.amber/
3) Add amber shortcut to ControlCenter from iOS Settings
4) Configure amber module from iOS Settings to use multiple leds for flash
Enjoy
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Bare in mind the LED and its drivers may not be rated or heatsinked for that amount of current draw.

Categories

Resources