What benefit is the cron port in the droid? I wondered about cron support in the native source, but have not installed enough pieces of the sdk to download via git and poke around.
I've built a few linux from scratch servers for the house over the last few years so have a bit of a leg up on what the pieces are.
I currently don't use cron, but it has such a tiny footprint (~62k), that I figured it never hurts to be available. The cron daemon itself is set up to never run unless a system crontab exists, so that if it is not actually being used to run anything, it won't sit there and drain the battery for no reason. One possible use for it in the future would be to perform various update or cleanup tasks, especially since ideally a phone should not power off very often.
Something I noticed the other night was that the stock email app (not gmail) if left running as the foreground when you let the screen blank out will chew up the battery over night!
I have never experienced this because my phone is almost always plugged into something (since i'm almost always near a computer). I have added this note to my todo list and will see if the email app continually syncs or something that might drain the battery.
What kinds of tweaks to the source can you make to cut down on battery drain? And I've wondered about all the apps pulling in stock libraries where maybe one or two functions were really called in the whole library.
Battery drain is going to be caused by the system doing more work for longer, not necessarily the size of it. Stock libraries are fine so long as they don't take up too much space (and when compiling from source, we can leave out a lot of bloat that isn't needed when we compile). Also when building from source, we can add hooks and changes directly into how the system runs to implement better features, optimize systems, and so on.
One example for battery life would be the OTA update system. Even if the otacerts package or whatnot is invalid, there is still a process running in system that checks for verizon's OTA updates. We could add the ability to shut off that check. Other changes like that are possible (or more probable) with a source based distro, instead of a hacked distro.
I hope this has answered your questions
