For all the talk of wanting improved battery life, the limits of technology (and mangling background tasks in the Operating System) mean it is unlikely that current battery technology or programmingtechniques will lead to any significant increase in battery life in the current physical space given over to the battery.
Like fixing any jumble, software gets organized by putting like things in boxes--a process called "abstraction"--and it flourished in the coming years through techniques like object-oriented programming, which shapes the Internet's Java language.