Unity gain op amp gives static, incorrect output
The LM358 output will not go to V+ (currently 5V) - its output is saturating.

You need to find an op-amp with rail-rail outputs - or you could power the op-amp from the battery voltage.

You should also add a decoupling capacitor across the power pins.