Inspection Procedure
WARNING: This page is about a different car, the 2002 Toyota Prius. However, it is still accessible from the selected car via links, so may be relevant.
If INFORMATION CODE 389 is output, check if other information codes are being output and then check repair the applicable code. After that, replace the main battery and it is OK if you can crank the engine again.