Froyo

jaybob413 and decad3nce have both been using this for a while now in their cyanogenmod 6 builds for heroc.
it fixes the problem of akmd using excessive cpu when automatic rotation is turned off.