In the bustling markets of Stone Town and the growing beach resorts of Nungwi, few things are as critical as reliable electricity.