App launch... - Huawei Mate 20 X Questions & Answers

My previous Huawei phone had some extra power/app management settings but in this new EMUI it seems expanded and more difficult to understand.
What I really want is to just let apps do what they want or let Android manage them. It seems, though, I either have to let Huawei manage them automatically or manually manage them by those three settings (allow auto start, allow start others, allow background). Is this correct? Am I missing something on this?
I also disabled the power usage notices that come up for apps (per app). Wish there was a universal disable for that.

The manual adjustment screen.

Are you running a L29?

On my older Huawei phones, I always turn everything on. I only have the apps I need, and I trust that none of them are malicious, so I turn them all on.

Leechoonhwee said:
Are you running a L29?
Click to expand...
Click to collapse
International version, yes.

jeradjohnso said:
On my older Huawei phones, I always turn everything on. I only have the apps I need, and I trust that none of them are malicious, so I turn them all on.
Click to expand...
Click to collapse
That is kind if my thinking too, but the feature wording is awkward. I am not clear, if I just turn auto to manual (for all) then does that let them ignore Huawei's thing? Also, it seems any new app defaults to automatically controlled.
It also isn't real clear on that second setting page, the manual controls, does that toggle on mean manual control (not Huawei) is on or does it mean auto (Huawei) control is on? In other words, does that toggle mean yes the app can do what it wants or no it can't?
My current thought is that if auto is off on the first page and I use the second page grant apps the permissions that I want (those checked can do that thing) then apps will run without Huawei interference and according to their own setup and whatever Android limitations exist (and of course, whatever limitation those checks and unchecks would imply).

SWBgHz said:
That is kind if my thinking too, but the feature wording is awkward. I am not clear, if I just turn auto to manual (for all) then does that let them ignore Huawei's thing? Also, it seems any new app defaults to automatically controlled.
It also isn't real clear on that second setting page, the manual controls, does that toggle on mean manual control (not Huawei) is on or does it mean auto (Huawei) control is on? In other words, does that toggle mean yes the app can do what it wants or no it can't?
My current thought is that if auto is off on the first page and I use the second page grant apps the permissions that I want (those checked can do that thing) then apps will run without Huawei interference and according to their own setup and whatever Android limitations exist (and of course, whatever limitation those checks and unchecks would imply).
Click to expand...
Click to collapse
Yes it is awkward how they word it. Huawei software kind of sucks. On older phones it was very aggressive with permissions and killing processes. Believe it or not, this has become easier over the years.
If you have hundreds of apps, then maybe pick and choose what you want. If your like me who only uses maybe 20 or so core apps, then I'd turn them all on.

On my AL00, after the update, the list is no longer there. You need to go into battery usage and then click on the individual app, then app launch.

Related

GBWhatsapp being killed in background even with revelant settings off

The problem: GBWhatsapp, after the phone is locked for a while, gets its bg service killed, making it unable to receive messages (and Whatsapp Web from working) until I turn on the phone and launch it again.
I tried tweaking all revelant settings, as per this guide here from this post , even doing the hold-and-lock-app thing in the recent apps menu. Only thing I couldn't do, due to the setting not being there in MIUI 10, is turning off Memory Optimization.
After checking in the developer options ("Running services") it seems the process does in fact keep working, but the "MessageService" that usually runs is killed.
The problem is not with the GBWhatsapp mod itself, as in my previous Samsung phone it worked with 0 issues. Any idea on what to do? I'm tempted to just make an AutoMate flow that periodically launches GBWA.
filloax said:
The problem: GBWhatsapp, after the phone is locked for a while, gets its bg service killed, making it unable to receive messages (and Whatsapp Web from working) until I turn on the phone and launch it again.
I tried tweaking all revelant settings, as per this guide here from this post , even doing the hold-and-lock-app thing in the recent apps menu. Only thing I couldn't do, due to the setting not being there in MIUI 10, is turning off Memory Optimization.
After checking in the developer options ("Running services") it seems the process does in fact keep working, but the "MessageService" that usually runs is killed.
The problem is not with the GBWhatsapp mod itself, as in my previous Samsung phone it worked with 0 issues. Any idea on what to do? I'm tempted to just make an AutoMate flow that periodically launches GBWA.
Click to expand...
Click to collapse
The same heappend to me. You have to set energy optimization to no restriction and set the app to autostart.
I fell no downside on battery life.
sauliiin said:
The same heappend to me. You have to set energy optimization to no restriction and set the app to autostart.
I fell no downside on battery life.
Click to expand...
Click to collapse
Already done that, still not working, sadly. It was in the linked guide.
(Also not even starting the app when the phone is locked through automate seems to work dammit)
filloax said:
Already done that, still not working, sadly. It was in the linked guide.
(Also not even starting the app when the phone is locked through automate seems to work dammit)
Click to expand...
Click to collapse
Well... Look into notification settings, permission... Give it all. Are you up to date on whatsappgb?
What rom are you using?
Rom is stock MIUI 10, and all notification settings are ok. Also gave it all permissions avaiable, and I downloaded GBWA from the website yesterday since this was a new phone.
same problem in realme phones..not getting online toast feature also..its workng old phones without any pblm..

Android app for Galaxy Watch

When I get to work, I set the sound mode of my Galaxy Watch to "Vibrate" to not bother people around me, and set it back to "Sound" when I leave. Every... single... day... It's annoying.
Yes, I know, the "Do not disturb" has a schedule feature but it's like turning off the watch. I do want everything to work except for sound.
Being a programmer, I wanted to write a watch app to set sound mode on a schedule but I never could connect to the watch. I had Debugging enabled, used a static IP, port opened in my router (even tried DMZ) and disabled Windows Firewall. When I clicked "Scan" in Tizen Studio, the watch was visible but it was impossible to connect to it. I'd also tried with the SDB command line but got the same result. I gave up (no wonder Tizen apps are hard to find).
It then occurred to me that if we can set the sound mode from our phone, it means that I could write a phone app to automatically set the sound mode of my watch. Is there an API for that?
Develop the app that schedules settings changes! I use an app on my phone that changes settings based on time and place, and it's VERY useful.
Yes there is an api, and Samsung provides the IDE for developing and testing apps for Tizen on the Galaxy Watch:
https://developer.samsung.com/galaxy-watch
The issue is not with the volumes of the phone. I use an app for that.
What I want is to control the volume of my Galaxy Watch using my phone, just like Samsung's Wear app does. If Samsung can do it, we can too. All we need is some API to use in a phone app.
Lyverbe said:
The issue is not with the volumes of the phone. I use an app for that.
What I want is to control the volume of my Galaxy Watch using my phone, just like Samsung's Wear app does. If Samsung can do it, we can too. All we need is some API to use in a phone app.
Click to expand...
Click to collapse
;-/
Yep. I know what you meant. I only brought up the app(s) for phones to point out that there are apps that change setting based on time and/or location, and that the same idea could be applied to the watch. (Why not?)
Actually, what you said in the first post is that what you want is to control the volume of your Galaxy Watch with a SCHEDULE. Why would you pull your phone out of your pocket to control the volume of your watch when you can control the volume of your watch with your WATCH? I mean, it's already right there on your wrist, right? And the watch is designed to control the phone, not really the other way around--but the Samsung phone-side watch app can change the watch settings, so maybe there is an exposed api for that too, but I wouldn't bet on that--you're probably gonna need a watch app to change watch settings. Just make an app for the watch that schedules settings changes. If it's good, I'll buy it, for the right price.
There is an API -- I supplied the link. Here, I'll Google search for some more of them for you:
https://developer.samsung.com/galaxy-watch/develop/sdk
https://developer.tizen.org/ko/foru...tings-programmatically-wearable?langswitch=ko
https://developer.tizen.org/develop...n/device-settings-and-systems/system-settings <--- GETTERS AND SETTERS!!!!
Or, you could try typing this into that Google dealio: "tizen studio change watch settings" then press the "Google Search" button. it's wonderful!
---------- Post added at 06:42 AM ---------- Previous post was at 06:36 AM ----------
Also.... after reading quite a few posts in this galaxy Watch section, I can guess that you won't find many developers that have done any Tizen-app programming for this watch in here. You might be one of the first ones.
As said in my original post, I tried to develop an app for the watch but never could connect to it. I gave up.
I'm looking for something like this, too. I use Macrodroid to control my phone settings based on location and time, and like you, I would like to be able to switch the watch between sound and vibrate mode based on what happens on the phone. When I'm switching my phone to vibrate only, I want my watch to switch as well.

Is it complete safe to disable apps in system setting / app section?

I found that sometimes I can't disable some apps, but sometime the disable button become available, from gray to clickable. I guess they are grayed out because of they are in used in someway, but once an app's disable button is clickable, is it completely safe to disable it? Cos I feels that if I use root to disable an app which is not able to disable currently may cause some weird issues and perhaps will drain more battery.
For something like Browser, I'm quite sure that at least if I install another browser and grab the default app slot, there won't be any problem if I disable the built-in one, but a lot of system apps are able to disable without root, I just wonder that can I disable them all by just losing the functions they provided without cause weird issues?
BTW how can I disable AudioFX legally? Since I never used it

How to automatically turn on GPS with the screen locked, no root

Ok, this will be a guide how to turn on GPS with the screen locked, without rooting the device.
Short story, just go down to the numbered section.
As I got my self a new car with android auto (through cable) but no built in GPS, I was interested in getting the phone to turn on the GPS automatically when I steped in to the car. I have serached a lot and only found that it wasn't possible due to security reasons. I meen if I have android auto I don't want to fibble with the gps-settings every time I'm in the car, and I don't wan't it on otherwise to save battery. When I got my self an Galaxy S20 FE last week I tried out everything in the built in systems as I thought that if it would be possible it would be with a built in system to pass the security demanded by Android/Google.
I know you can do it rooting the phone, but as I use it for security apps that will stop working if I do that, it wasn't an opption.
And yesterday I found the way, using the built in Bixby Routines. It might be possible with other Samsung Galaxy models as well with Bixby, haven't tried.
1. Go into Bixby App (there is two ways getting into Bixby, through the app and through phone settings, but you do different things depending on how you enter).
2. Go to settings
3. Turn on "Use while phone locked"
4. Go out of the App
5. Go into the phone settings
6. Go into "Advanced features"
7. Turn on "Bixby Routines"
8. Go into the submeny "Bixby Routines"
For me, I wanted the GPS to turn on when the phone automatically connected to the cars Android Auto system through bluetooth, so that is the routine I will describe here.
9. Set up a new routine with the "IF-section" defined to "Connected to the Cars bluetooth
10. Define the "Then-section" to Location-On
11. Don't do any changes to "When routine ends". That will reverse the Location to off when the phone disconnects from the car.
12. Click next end name your routine end click Done.
Some times, especially when I connect the phone to the usb-cable from the car before the phone has connected to the bluetooth system, the routine doesn't execute. Time will tell if it will happened a lot. Of course you should be able to switch the IF statement to anything that fits you.
go paste this into other forums too. (I don't even drive, but I like helpfulness)
Joelbit said:
Ok, this will be a guide how to turn on GPS with the screen locked, without rooting the device.
Short story, just go down to the numbered section.
As I got my self a new car with android auto (through cable) but no built in GPS, I was interested in getting the phone to turn on the GPS automatically when I steped in to the car. I have serached a lot and only found that it wasn't possible due to security reasons. I meen if I have android auto I don't want to fibble with the gps-settings every time I'm in the car, and I don't wan't it on otherwise to save battery. When I got my self an Galaxy S20 FE last week I tried out everything in the built in systems as I thought that if it would be possible it would be with a built in system to pass the security demanded by Android/Google.
I know you can do it rooting the phone, but as I use it for security apps that will stop working if I do that, it wasn't an opption.
And yesterday I found the way, using the built in Bixby Routines. It might be possible with other Samsung Galaxy models as well with Bixby, haven't tried.
1. Go into Bixby App (there is two ways getting into Bixby, through the app and through phone settings, but you do different things depending on how you enter).
2. Go to settings
3. Turn on "Use while phone locked"
4. Go out of the App
5. Go into the phone settings
6. Go into "Advanced features"
7. Turn on "Bixby Routines"
8. Go into the submeny "Bixby Routines"
For me, I wanted the GPS to turn on when the phone automatically connected to the cars Android Auto system through bluetooth, so that is the routine I will describe here.
9. Set up a new routine with the "IF-section" defined to "Connected to the Cars bluetooth
10. Define the "Then-section" to Location-On
11. Don't do any changes to "When routine ends". That will reverse the Location to off when the phone disconnects from the car.
12. Click next end name your routine end click Done.
Some times, especially when I connect the phone to the usb-cable from the car before the phone has connected to the bluetooth system, the routine doesn't execute. Time will tell if it will happened a lot. Of course you should be able to switch the IF statement to anything that fits you.
Click to expand...
Click to collapse
A while ago i needed to do something similar and used Automate.
Have you tried this app;
Automate - Apps on Google Play
Automate almost any task on your device
play.google.com
3mel said:
go paste this into other forums too. (I don't even drive, but I like helpfulness)
Click to expand...
Click to collapse
Thats why I wrote it here, google indexes this forum very well. So if anyone google it in a while, they will find the way in here.
kuri_2k said:
A while ago i needed to do something similar and used Automate.
Have you tried this app;
Automate - Apps on Google Play
Automate almost any task on your device
play.google.com
Click to expand...
Click to collapse
I have Automate, but haven't tried it on my new phone. But as I understand it, you will have to root the phone to make it work with Automate?
Joelbit said:
I have Automate, but haven't tried it on my new phone. But as I understand it, you will have to root the phone to make it work with Automate?
Click to expand...
Click to collapse
Off memory, only for certain permissions requiring root. For what you want to do I don’t think its root required.

Question Disable doze?

One of my biggest gripes about Android is the fact that notifications are often delayed. This is because Google has implemented doze - a feature which saves battery life. That's great 'n all, but I absolutely need my notifications ASAP as they're paramount to my business.
I've used the following adb command for a while now to disable doze: adb shell dumpsys deviceidle disable. I know this only works until you restart your phone, but I don't mind doing the command line once a week.
However, it looks like this command does not work for the Pixel 6 Pro. I'm not sure why, but it just doesn't. At first, I thought it may have been an Android 12 issue, but that turned out to be completely incorrect as my new S22 Ultra that's on Android 12 suffered the same delayed notifications ailment, but was remedied by the aforementioned adb command. Now my S22 Ultra gets Gmail/push notifications immediately and on time. So it might be the SoC that's to blame for some reason.
I like the Pixel 6 Pro, I really do. I enjoy Google's UI, the physical look of the phone, etc. but I cannot keep a phone that does not receive notifications on time. Is there a different adb command or a way to disable doze to get notifications on time on the Pixel 6 Pro?
And before anyone recommends it - yes I've tried not optimising Gmail, different email apps, and all the app workarounds - nothing works. Same applies for the S22 Ultra and all my previous Android phones. Only disabling doze allows for push notifications to come through on time.
Any help would be greatly appreciated as I'm not keen on keeping this S22 Ultra, but will if there's no genuine workaround for disabling Doze on the Pixel 6 Pro.
Cheers!
Disabling battery optimization (long press app icon - app info - battery) essentially turns off doze for that particular app. If it's just emails/Gmail you're worried about, do that for the Gmail app. You'll theoretically get your emails on time, and the rest of your phone can zzzzzzzz in peace.
Also of note, Samsung changes a **** ton of the aosp code before using it for their OneUI ROM. It very well may be an Android 12 change than Samsung either reverted or did something else with.
asj0422 said:
Disabling battery optimization (long press app icon - app info - battery) essentially turns off doze for that particular app. If it's just emails/Gmail you're worried about, do that for the Gmail app. You'll theoretically get your emails on time, and the rest of your phone can zzzzzzzz in peace.
Also of note, Samsung changes a **** ton of the aosp code before using it for their OneUI ROM. It very well may be an Android 12 change than Samsung either reverted or did something else with.
Click to expand...
Click to collapse
You won't have to hook it up to your command prompt every time you reboot, either.
Why don't you simply disable optimisation for the apps you need instant notifications for? (Settings > Apps > [AppName] > Battery Usage > Unrestricted)
Again, I've tried that and it simply doesn't work.
I just sent myself an email after leaving 3 of my phones down, idling for 8 minutes. The S22 Ultra and iPhone 13 Pro received the email within 5 seconds of each other, and the Pixel didn't receive anything until I turned it on and unlocked it. Battery optimisation removal is the first thing I tried and it didn't work.
It's not doze then.
If the notion actions are driven through gservices, then that is another aspect of the problem that needs to be "not optimized".
Easiest and best way to solve this kind of problem is to use better software. Fairemail will deliver instant notifications and uses a direct IMAP connection rather than routing everything through gooble.
96carboard said:
If the notion actions are driven through gservices, then that is another aspect of the problem that needs to be "not optimized".
Easiest and best way to solve this kind of problem is to use better software. Fairemail will deliver instant notifications and uses a direct IMAP connection rather than routing everything through gooble.
Click to expand...
Click to collapse
I get what you're saying, but you shouldn't have to use a different app to get notifications. Gmail should work within a reasonable amount of time. It's a problem if you have to turn on your phone for a notification to appear, especially from a Google app.
Op should do a factory reset. And during Android set-up, uncheck device settings (and apps for good measure). Turn off app optimization, and test it again.
But I've seen this issue on Android phones (and iPhones), and no one has ever actually resolved the issue. It seems like it's random when the issue occurs (or doesn't).
I have seen one user report that the adb command to disable doze does work on the Pixel 6 Pro. Not sure how accurate that report was though.
Maybe also try adb shell dumpsys deviceidle disable whitelist + <app package name>
You may want to check what app bucket the apps you want instant notifications for are in (Developer Options>Standby Apps). If they are in either Active or Working Set you "should" be getting notifications on time. If they aren't set to one of those categories you can try changing it to Active or Working Set, although the app may just change it back.
@AhsanU
Hi
I assumed just like you that the problem is with doze .
But , after using the adb command everything works fine except Gmail.
So I replaced Gmail with other email client and now everything just fine.
asj0422 said:
It's not doze then.
Click to expand...
Click to collapse
It absolutely is, as disabling doze literally fixes the issue. This is not even a point of discussion.
Lughnasadh said:
I have seen one user report that the adb command to disable doze does work on the Pixel 6 Pro. Not sure how accurate that report was though.
Maybe also try adb shell dumpsys deviceidle disable whitelist + <app package name>
You may want to check what app bucket the apps you want instant notifications for are in (Developer Options>Standby Apps). If they are in either Active or Working Set you "should" be getting notifications on time. If they aren't set to one of those categories you can try changing it to Active or Working Set, although the app may just change it back.
@AhsanU
Click to expand...
Click to collapse
Looks like Gmail is set as active, as is every single app I've downloaded - odd
AhsanU said:
It absolutely is, as disabling doze literally fixes the issue. This is not even a point of discussion.
Click to expand...
Click to collapse
If this was the case then wouldn't we all be seeing the same thing? When i order something off Amazon on my PC my Pixel 6 Pro goes off at the same time the email arrives on the PC even if i have not picked my phone up for some time.
There has been odd behaviour for some people with Gmail not doing notifications in push mode. Had this with my OnePlus device, but seen it reported for Google, Samsung and other devices for Android 11 and 12.
For some uninstalling the app and re-installing solved it, for others factory reset. Some could not get it to be resolved at all.
Some needed to sort the Google services app as well as Gmail.
It wasn't Doze that was causing the issue though.
AhsanU said:
Looks like Gmail is set as active, as is every single app I've downloaded - odd
Click to expand...
Click to collapse
Can you try this: Go to Settings, System, Users. Create a new user (just a brand-new google account with Fake Information (you can delete it later)). While logged into that profile, lock the phone. wait 10 mins. Then go to a different device and send an email to that new account. How long does it take for the email to come in? Turn off wifi and try it on mobile. Any difference?
AhsanU said:
Looks like Gmail is set as active, as is every single app I've downloaded - odd
Click to expand...
Click to collapse
Did you see this thread on Reddit? Sounds familiar.
https://www.reddit.com/r/GooglePixel/comments/t2cuuu
Im on lineageos pixel 3xl. Have always used the dumpsys deviceidle disable command on previous phones with success. It was the only thing that worked. Battery optimization settings were never enough. Anyway, running the command also solved the problem on my pixel 3xl running lineages. Until about 2 weeks ago. I did recently install super freezze. Uninstalling it now. Will report back if it fixes my issue.
bobby janow said:
Did you see this thread on Reddit? Sounds familiar.
https://www.reddit.com/r/GooglePixel/comments/t2cuuu
Click to expand...
Click to collapse
What was the solution they said worked in the comments?
but i really like android system
This is an issue with the introduction of doze. I can confirm that on every single Android phone I've used since doze was introduced "think it was marshmallow, could be wrong". I have experienced this issue with all my pixel phones up to 4xl, Galaxy s21 Ultra, and OnePlus 7 Pro and 8 Pro. Executing "dumpsys deviceidle disable" via rooted device in terminal or the adb command via computer fixes the issue 100% every time. I also experience no extra battery drain. Google simply needs to get rid of doze it's no longer needed. I carry an iPhone along with my android of choice and only when device idle is disabled do I get my notifications instantly just like I do without fail on my iphone. It's very depressing to have to jump through hoops to get important instant notifications on an Android phone.

Categories

Resources