Huawei Mate 20

chenaz

Supremacy Member
Joined
Dec 21, 2011
Messages
9,780
Reaction score
370
I know hwz apps don't get killed for few hours at background.i leave my app at this page and come back hours or next day still the same page.there are some apps don't get killed.

Some is the app killing itself as they need to sync data with server.
That the the life cycle of the application. For example I leave my game AFK for sometime at background.it will auto stop the app as this cost unfairness to other user

So no game will let you keep your app alive after u exit from the screen.
Take a look at the Android life cycle. Apps automatically goes to pause mode after exiting full screen .
qgzQwS8.jpg


KeYoKe is quite right.

I don't tweak to squeeze more juices out. In fact all my tweaks will make it worse. :s13: The reason is that there are some apps I would like to keep running in the background. So I make them stay-alive. It's irritating to me that apps I use often, and if I put them into the background for 30s, they get killed.

Someone shared some tips a few pages back. I think that will work but basically I think no apps are allowed in the background. If you can live with that, you may like to try that.

Oh, of course you can always reduce all the social media and mail apps syncing period if you can.
 

cheery

Senior Member
Joined
Nov 2, 2003
Messages
1,363
Reaction score
4
Ya. Try not allowed. I was just saying I didn't have to do it on my mate 20 pro and it still worked. But I would say try just the first change u mentioned earlier first because maybe in the manual management setting it was disallowed to run in background. Then auto mode may just solve them.

Huawei phone is super aggressive in battery management. It used to kill apps with disregards. In fact late last year, an app developer forbade installation of their apps on Huawei's phones cause the battery management made the apps unworkable and made it look bad. Not all users know and like to tweak the settings themselves. But this mate 20 pro compared to my P9+ has improved quite a lot in the power management part. But you must know where to tweak.


Tried both settings... still cannot.

Say after casting to Tv. The phone off screen after 30secs, when I come back to the app, black screen still (with nav buttons but in a hanged situation) and then App asked to close yet again.

This has been happening no matter what... as long we cast to Tv will have problem.

Have to close app then open app again and get back to cast in order to control the video.

As I typed, the TV still running the casted video but Toggle app cannot Use.
 
Last edited:

1982-1994

Great Supremacy Member
Joined
Oct 10, 2016
Messages
60,368
Reaction score
31,251
Can you share the tweaks you used please to improve battery life please? Thanks

Use browser to access your Facebook/hwz account as the standalone apps suck battery juice.
Personally I'm using brave/kiwi browser, older version.

Turn off notifications for various apps which you don't need, like YouTube etc.
The default music player/launcher should be the most battery friendly one.

Cut down on usage of location, NFC and auto-rotate function.

Telcos play a part too. Their network signal strength, fast dormancy,etc.
Personally I felt that M1 network drains battery as I think they don't support fast dormancy.
 

workedmw

Senior Member
Joined
Jul 13, 2018
Messages
1,309
Reaction score
1
i thought Huawei mate20 pro battery dam good? why y'all keep complaining about it ?

So it wont be able to last a day?
 

1982-1994

Great Supremacy Member
Joined
Oct 10, 2016
Messages
60,368
Reaction score
31,251
Pro battery not as good.
The normal one can clock high SOT.
The x has good standby.
 

KeYoKe

High Supremacy Member
Joined
Jul 14, 2005
Messages
37,547
Reaction score
9,635
i thought Huawei mate20 pro battery dam good? why y'all keep complaining about it ?

So it wont be able to last a day?

Mine ok la from my usage. I am at 1 day 5 hours, 33 percent batt left with 6hr 40mins sot. Can hit 9 hours sot i feel. Nt sure why some ppl having bad batt life
 

bystander1965

Member
Joined
Feb 24, 2011
Messages
362
Reaction score
0
I know hwz apps don't get killed for few hours at background.i leave my app at this page and come back hours or next day still the same page.there are some apps don't get killed.

Some is the app killing itself as they need to sync data with server.
That the the life cycle of the application. For example I leave my game AFK for sometime at background.it will auto stop the app as this cost unfairness to other user

So no game will let you keep your app alive after u exit from the screen.
Take a look at the Android life cycle. Apps automatically goes to pause mode after exiting full screen .
qgzQwS8.jpg




I don't know how Huawei handles apps in the background but the lifecycle dictates that once it's in the background onStop is called, and it may be killed when higher priority tasks need the memory (that statement is missing from the process killed branch of your diagram).

So I have this web page that I like to keep. But each time I put it into the background and recall it later, the page will default to the main again. Very irritating. So I lock it. So as long as I don't close it, it stays alive; sometimes it may not update, sometimes it will, after I recall it.

However, just to be sure I made sense, I just tried it and removed the lock, the page stayed as expected. Perhaps something has changed in the battery management since.

I don't know about games as I don't play them.

[Correction: I shouldn't say Apps but rather the processes]
 
Last edited:

bystander1965

Member
Joined
Feb 24, 2011
Messages
362
Reaction score
0
Tried both settings... still cannot.

Say after casting to Tv. The phone off screen after 30secs, when I come back to the app, black screen still (with nav buttons but in a hanged situation) and then App asked to close yet again.

This has been happening no matter what... as long we cast to Tv will have problem.

Have to close app then open app again and get back to cast in order to control the video.

As I typed, the TV still running the casted video but Toggle app cannot Use.

Sorry to hear that. Perhaps in the mean time, you have to keep the phone screen alive while toggle plays? As I said yesterday, on my M20P, toggle didn't go blank. The phone screen stayed on while the program played.

One last ditch, is your toggle the latest version? The behaviour on your phone is different from mine, though different models.
 

cheery

Senior Member
Joined
Nov 2, 2003
Messages
1,363
Reaction score
4
Sorry to hear that. Perhaps in the mean time, you have to keep the phone screen alive while toggle plays? As I said yesterday, on my M20P, toggle didn't go blank. The phone screen stayed on while the program played.

One last ditch, is your toggle the latest version? The behaviour on your phone is different from mine, though different models.

Haiz..

Very funny behaviour of this phone for Toggle.

The version I have is the latest Version 3.4.5.
 

chenaz

Supremacy Member
Joined
Dec 21, 2011
Messages
9,780
Reaction score
370
When comes to web page. Then is different life cycle.
Web page life cycles is different from mobile apps.

And some page auto refresh as time goes and some push data to user only when there is updates.

Some refresh whole page while some refresh the partial page.

The memory you mentioned also plays a part in killing the app also.
But I also know that Huawei is actively killing the app.so maybe other brands allow user to have the app for 10 minutes whole Huawei only allows 5 minutes? Maybe? I donnoe

For example, good implementation of the lifecycle callbacks can help ensure that your app avoids:

Crashing if the user receives a phone call or switches to another app while using your app.
Consuming valuable system resources when the user is not actively using it.
Losing the user's progress if they leave your app and return to it at a later time.
Crashing or losing the user's progress when the screen rotates between landscape and portrait orientation


I don't know how Huawei handles apps in the background but the lifecycle dictates that once it's in the background onStop is called, and it may be killed when higher priority tasks need the memory (that statement is missing from the process killed branch of your diagram).

So I have this web page that I like to keep. But each time I put it into the background and recall it later, the page will default to the main again. Very irritating. So I lock it. So as long as I don't close it, it stays alive; sometimes it may not update, sometimes it will, after I recall it.

However, just to be sure I made sense, I just tried it and removed the lock, the page stayed as expected. Perhaps something has changed in the battery management since.

I don't know about games as I don't play them.

[Correction: I shouldn't say Apps but rather the processes]
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top