Added flags and power status publishing