A Deep Reinforcement Learning Approach to Battery Management in Dairy Farming via Proximal Policy Optimization