[suspend] Add support for enabling autosleep. Contributes to JB#32356
MCE assumes presence of wakelock control files implies kernel supports early suspend. Which makes things not work on kernels that use autosleep instead of early suspend. Improve probing and differentiate behavior depending on whether kernel supports autosleep or early suspend.
Showing with 136 additions and 15 deletions