Active Topics

 


Reply
Thread Tools
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#11
Originally Posted by marmistrz View Post
Well, the problem is not the number of apps running at the same time.

Often I do it this way: open one app in the morning, use the phone all day (with this one minimized or used once or twice), and open it back in the evening.

Android would've killed this a long time ago.
Yes. That is a good point. I've tried the same where I've opened a document editor made an edit and then put it in background. Sometimes it lasts a day and sometimes it doesn't. I had wondered if there was a time out but as far as I can tell androids main criteria for killing jobs is ram memory based. It could also be device dependent. Main lesson there is if you are working on, say, a document, using android and you do not want to lose changes save them before moving on to something else. Btw, terminal emulator is run as a service. I've never seen it closed, no matter how long I've had it running in background.
 

The Following 6 Users Say Thank You to mscion For This Useful Post:
Posts: 702 | Thanked: 2,059 times | Joined on Feb 2011 @ UK
#12
Originally Posted by marmistrz View Post
Well, the problem is not the number of apps running at the same time.

Often I do it this way: open one app in the morning, use the phone all day (with this one minimized or used once or twice), and open it back in the evening.

Android would've killed this a long time ago.
How is that a problem?

If the app isn't doing anything then it saves state and releases resources saving your battery. It restores state back to where you left it when you resume it. If the phone has plenty of RAM then it restores the activity instance from RAM instantly. It makes no difference and is arguably safer than an app that doesn't save state but relies on continuously running. If it is doing something then it keeps a background service open.
 

The Following 2 Users Say Thank You to aegis For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#13
And now run a desktop app from a chroot. Whoops, no one thought about saving the state... And why should he
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Posts: 702 | Thanked: 2,059 times | Joined on Feb 2011 @ UK
#14
Originally Posted by marmistrz View Post
And now run a desktop app from a chroot. Whoops, no one thought about saving the state... And why should he
That would be a **** desktop app. Even desktop apps do that today as 'desktop' includes being mobile on battery. Some OSs also actively power down apps reducing priority. Eg. MacOS has 'App Naps' to conserve battery life.
 

The Following 2 Users Say Thank You to aegis For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#15
Well, most desktop apps just stay idle, don't save anything until explicitly requested to. See pluma, gedit, mnemosyne, galculator, banshee..
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#16
Originally Posted by aegis View Post
If the app isn't doing anything then it saves state and releases resources saving your battery.
I can give you plenty of examples where saving and restoring the state wastes the battery rather than saving it. Especially if "restoring" involves starting the application from zero and then reloading the last saved state. If the saved state is "in the cloud", as is quite common nowadays, chances are it may not be exactly the same as it was when you left it but a few seconds behind.
__________________
Русский военный корабль, иди нахуй!
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#17
Originally Posted by aegis View Post
That would be a **** desktop app. Even desktop apps do that today as 'desktop' includes being mobile on battery. Some OSs also actively power down apps reducing priority. Eg. MacOS has 'App Naps' to conserve battery life.
That sounds like a good advice against using those desktop OSs, not like an advice to have it on mobile too I didn't know MacOS did this, but I'll keep my distance, thanks.

Originally Posted by mscion View Post
Multitasking, meaning you decide when your app dies, can apparently be improved using apps or xposed modules...
It's worth mentioning that the Xposed framework requires root which is a no-go on devices like BlackBerry Priv (mentioned in the other, HW-focused thread) and unfortunately on some other phones (Samsung) as well, unless you want to rely on a random binary from the internet (SuperSU) with no available source code. I thought most/all Android phones were safely rootable, but I learned the hard way it's not the case. So it's probably good having transparent root as one of the conditions for a purchase.
 

The Following 5 Users Say Thank You to nodevel For This Useful Post:
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#18
Originally Posted by nodevel View Post
That sounds like a good advice against using those desktop OSs, not like an advice to have it on mobile too I didn't know MacOS did this, but I'll keep my distance, thanks.



It's worth mentioning that the Xposed framework requires root which is a no-go on devices like BlackBerry Priv (mentioned in the other, HW-focused thread) and unfortunately on some other phones (Samsung) as well, unless you want to rely on a random binary from the internet (SuperSU) with no available source code. I thought most/all Android phones were safely rootable, but I learned the hard way it's not the case. So it's probably good having transparent root as one of the conditions for a purchase.
I might add that apps like Ram Manager also needs root. Also if you root your phone you will not be able to use Android Pay or Samsung, Pay for example, if you are so inclined. Rooting allows you to customize you phone in so many ways. It's part of the fun for me.
There are some new approaches to rooting that may be more robust.

http://www.xda-developers.com/chainf...ifying-system/
 

The Following 2 Users Say Thank You to mscion For This Useful Post:
Posts: 702 | Thanked: 2,059 times | Joined on Feb 2011 @ UK
#19
Originally Posted by marmistrz View Post
Well, most desktop apps just stay idle, don't save anything until explicitly requested to. See pluma, gedit, mnemosyne, galculator, banshee..
Most desktop apps on Linux you mean. That's not how the very same apps work on a Mac.
 

The Following 2 Users Say Thank You to aegis For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#20
Originally Posted by mscion View Post
I might add that apps like Ram Manager also needs root. Also if you root your phone you will not be able to use Android Pay or Samsung, Pay for example, if you are so inclined. Rooting allows you to customize you phone in so many ways. It's part of the fun for me.
There are some new approaches to rooting that may be more robust.

http://www.xda-developers.com/chainf...ifying-system/
And we have basically no alternative than Android right now (if we wish a hwkb)
So sad.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Reply

Tags
gravity box


 
Forum Jump


All times are GMT. The time now is 15:33.