Waila support for energy counter (hello #42)