Disable battery usage when port is disabled, and fix bug with gui not loading available modes when first loading