Kobo suspend support

This should fix #580