Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at new c (/tmp/execjs20161208-18535-ce1l8ajs:136:3912)
    at m.mountComponent (/tmp/execjs20161208-18535-ce1l8ajs:47:15602)
    at /tmp/execjs20161208-18535-ce1l8ajs:49:31860
    at a.r.perform (/tmp/execjs20161208-18535-ce1l8ajs:47:12503)
    at Object.a [as renderToString] (/tmp/execjs20161208-18535-ce1l8ajs:49:31821)
    at r (/tmp/execjs20161208-18535-ce1l8ajs:50:21164)
    at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-18535-ce1l8ajs:32:6073)
    at eval (eval at <anonymous> (/tmp/execjs20161208-18535-ce1l8ajs:173:8), <anonymous>:10:23)
    at eval (eval at <anonymous> (/tmp/execjs20161208-18535-ce1l8ajs:173:8), <anonymous>:17:3)
    at /tmp/execjs20161208-18535-ce1l8ajs:173:8

Q: why does my battery keep going dead?

asked by on

In the past few days, my car battery kept going dead. I've purchased a new battery since then. Once I try and start the car it powers down on its own and i have to restart it. What could be the problem?

My car has 131000 miles.
My car has an automatic transmission.

A: The best way to diagnose the type of issue ...

The best way to diagnose the type of issue your Hyundai is having is by beginning with using professional level test equipment to verify that the battery, charging system, and starter are all functioning correctly.

These testers are widely used and commonly found wherever batteries are sold and vehicles are serviced. The other test you want to be sure to ask for is a parasitic battery drain test. Sometimes called a battery draw test, this test measures the electrical current flowing out of your car's battery when everything is supposed to be shut off. A parasitic drain runs down your battery while your car sits at shut off. You'll want to verify the problem before making any more replacements. A technician from YourMechanic can come to your car's location to diagnose your car's starting issue if you are still having problems.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%

Get a quote

What others are asking

Q: Vehicle randomly won't start

You may have gotten a bad battery but I think the system in your vehicle is draining the battery and not recharging it. The alternator is the most common cause of this, or you have something staying on after you...

Q: Car overheating replaced thermostat. Wondering if ots the water pump. Flushed radiatior. Car wont turn over. Idles and stalls.

Hello, thanks for writing in about your Hyundai Accent. It sounds like you have a leaking head gasket causing the car to run rough and overheat. You should have a mechanic, like one from YourMechanic, diagnose the overheating issue firsthand...

Q: What does the Service Airbag message mean?

The Service Airbag message can appear on the driver information center (DIC). The DIC displays this alert when there is an issue with the airbag system. You should have the airbag system fixed as soon as possible.

Related articles

How Long Does a Heater Control Valve Last?
Keeping the right amount of coolant in a car is essential in keeping the engine at the right temperature. Failing to have the right amount of coolant or even bad elements...
P0240 OBD-II Trouble Code: Turbocharger Boost Sensor B Circuit Range/Performance
P0240 code definition Turbocharger Boost Sensor B Circuit Range/Performance What the P0240 code means P0240 is an OBD-II generic code triggered when the Engine Control Module (ECM) detects the intake boost...
P2103 OBD-II Trouble Code: Throttle Actuator Control Motor Circuit High
P2103 means there is a fault with the throttle actuator control motor circuit, likely due to a defective electrical component or part.