mas01cr@492: power-flag handling with library