Was checking for battery-draining bug but could not reproduce. (Happened once with my iPad attached to Mac.)
—Cleaned up code a little.
Next: back to updating UI for iOS 7.