Please be careful using log in grains. On systems without acpi this will very badly spam logs. Maybe use log.trace?