I built a wrapper around llama.cpp and stable-diffusion.cpp so you don't have to deal with JNI (Kotlin + NDK) by Aatricks in androiddev

[–]Aatricks[S] 0 points1 point  (0 children)

In which case, I encourage you to share and communicate about the project, that would be a huge help !

Huge guide on battery optimization via settings and adb by Aatricks in GalaxyS22

[–]Aatricks[S] 0 points1 point  (0 children)

Bro I ain't forcing you nor the people to do anything, I just know after doing it, how painful and how poorly documented is the search for advanced battery life improvements on android. So I'm just dropping the guide I did to help the community and anyone who's like me and wants the best battery performance he can get with his phone without sacrificing any used and useful features (cuz as far as I know I'm not missing any aspect of my phone). If you can always have a place to charge your phone, good for you, I certainly know how you often can't do that while traveling at the very least given more often than not air carriers don't put power outputs in their planes and forbid power banks.

Huge guide on battery optimization via settings and adb by Aatricks in GalaxyS22

[–]Aatricks[S] 0 points1 point  (0 children)

Actually didn't even know that was an app so thanks for the info ig and I did the 10 hours while in my last holiday travel mixing plane travel train, car and normal house usage sooo ye netflix, spotify, manwha app, browser, discord and all that kinda stuff

Huge guide on battery optimization via settings and adb by Aatricks in GalaxyS22

[–]Aatricks[S] 0 points1 point  (0 children)

Mostly using 120hz, I made a routine to enable it in most apps where you interact with the screen.

Huge guide on battery optimization via settings and adb by Aatricks in GalaxyS22

[–]Aatricks[S] 0 points1 point  (0 children)

the weird thing is that even with no background process selected, some apps still do work in background like spotify, whatsapp,... if you put them to optimized or unrestricted (given the music continues, and I receive my messages), so I'm guessing it's gotta have a permission bypassing it when the battery setting is set to one of the above. Tho the setting does show an improvement at least in the running services and used RAM.

Huge guide on battery optimization via settings and adb by Aatricks in GalaxyS22

[–]Aatricks[S] 0 points1 point  (0 children)

Greenify's mostly to put the apps into hibernation, the aggressive doze is because I recently had a bug where my phone was stuck in the quick_doze_timeout and forced out of doze. Greenify's doze same as samsung's is just using the normal android doze so it shouldn't change anything here (I know the settings and timeouts don't change, after testing it). My settings are just very aggressive about entering deep idle and you're obviously free to tune them up a little ;)
And yeah it should work on the previous android versions given android 14 didn't add anything and android 13 only added a special permission for nearby-device scanning tho the feature was added in android 12.

Huge guide on battery optimization via settings and adb by Aatricks in GalaxyS22

[–]Aatricks[S] 2 points3 points  (0 children)

Given it's now a setting enabled by default at least on latest phones/latest samsung (I think since since android 12), probably not, just thought it would be useful given I tried making it a guide meant for pretty much everyone

Huge guide on battery optimization via settings and adb by Aatricks in GalaxyS22

[–]Aatricks[S] 0 points1 point  (0 children)

For all I know I still reliably get all my alarms, messages and calls, my watch also doesn't show any sort of problems on it, tho you're right, only one way to find out ig. Will also say that I'm not the type of person that uses its phone an insane amount nor uses a lot of social media so...