PM: Add early suspend api.