A very simplistic powermanager that prevents data loss by invoking hibernate on low power