fixes the +inf.0 bug that prevented zelda-battery from working even though it was running in a supported environment