Gupta-Anit / Android-mini-projects

0 stars 0 forks source link

[Timeriffic] could you add a action that is restart the phone #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I want to restart the phone every day for release its memory and swap.
many thanks

Original issue reported on code.google.com by qian...@gmail.com on 1 Sep 2010 at 5:22

GoogleCodeExporter commented 8 years ago
Why don't you look into Automatic Task Killer to quit apps at scheduled 
intervals.

I don't think that Timeriffic should be rebooting a phone.  Linux is already an 
optimized operating system by design, you just need a tool that manages the 
memory better, which is where Automatic Task Killer comes in.

Original comment by humm...@gmail.com on 4 Sep 2010 at 10:14

GoogleCodeExporter commented 8 years ago
Thank you for your advice.
I had tried the Automatic Task Killer,but the swap would be increased,it could 
not release the swap,it would be more and more slowly.....

Original comment by qian...@gmail.com on 5 Sep 2010 at 12:16

GoogleCodeExporter commented 8 years ago
What about Batch Cleaner?  It's free and from the description it "uninstall & 
clean caches in batch mode".

The Linux kernel manages the swap (by default in a Linux OS, not just the Froyo 
2.2 update).  As another note, the swap of a Linux system is only used when the 
phone's internal memory becomes fully used.  That's what Swap is for.  Clean up 
the memory/cache and the kernel will clean the swap.

Original comment by humm...@gmail.com on 5 Sep 2010 at 12:24

GoogleCodeExporter commented 8 years ago
I agree that it's not Timeriffic role to reboot your phone.

Moreover, there must be some bad app that corrupts your phone. Android makes it 
so that you don't need to kill a task. There are several articles you can read 
on the subject in various blogs.

Oh and by the way, it's a phone, not a desktop. There is no swap activated on 
Android.

Original comment by ralfoide on 2 Oct 2010 at 6:05

GoogleCodeExporter commented 8 years ago
>"Oh and by the way, it's a phone, not a desktop. There is no swap activated on 
Android."

Part truth, part fiction.

The Android platform may be for phones, but that doesn't mean you can't use a 
swap partition.

http://forum.xda-developers.com/showthread.php?p=3329186#post3329186

I was wrong that it's not part of the OS itself, but adding/using swap can be 
done.

Original comment by humm...@gmail.com on 5 Oct 2010 at 5:48