patches for http://zbatery.bogomip.org/