A linear position sensor is installed inside the pressure vessel of a hydraulic accumulator to provide positional information for the moveable element inside of the accumulator. The positional information provides accumulator charge condition data for use in hydraulic systems such as vehicular regenerative braking systems and generalized industrial accumulator systems. Charge condition data allows for optimized control and operation of the hydraulic system.