Get rid of the -S switch.
Don't clean ports modules if NO_KERNELCLEAN is defined.
Add support for battery relearning features.