I have some problems calculating the conserved quantity for a lagrangian of the form
$$ L = \frac{1}{2}m\dot{q}^2 - f(t) a q, $$
because I found the general problem too abstract, I tried at first with $f(t) = t$, so, for the rest of the post I'll use $$ L = \frac{1}{2}m\dot{q}^2 - t a q. $$
Using $L$ the resulting equation of motion is $$ m\ddot{q} = - at, $$ so I think, this is probably the weakest point of my reasoning, a possible transformation that left the equation of motion invariant is $$ t \to T = t + \varepsilon, \quad q \to Q = q - a \varepsilon \frac{t^2}{2m}. $$
Well, with this I compute the extended lagrangian*, $L_{\hbox{ext}}$ $$ L_{\hbox{ext}} = L(q, \frac{\bar{q}}{\bar{t}}, t) \bar{t}, $$ and using Noether's theorem, the conserved quantity is $$ I = \frac{\partial L_{\hbox{ext}}}{\partial \bar{q}} \frac{\partial Q}{\partial \varepsilon}\vert_{\varepsilon = 0} + \frac{\partial L_{\hbox{ext}}}{\partial \bar{t}} \frac{\partial T}{\partial \varepsilon}\vert_{\varepsilon = 0}, $$ computing the partials gives $$ I = - m \frac{\bar{q}}{\bar{t}}a \frac{t^2}{2} - \frac{1}{2} m \Bigl( \frac{\bar{q}}{\bar{t}} \Bigr)^2 - t a q. $$ Unfortunately for my sanity, $\dot{I} \neq 0$. So, if you can help me to spot any mistakes, I'll be very grateful since I have tried this procedure with other time-dependent lagrangians and it worked. For example, Example #1 Example #2
*NOTE if $\tau$ is the new time, then $\frac{\rm{d} t}{\rm{d} \tau} = \bar{t}$, and $\bar{q} = \frac{\rm{d} q}{\rm{d} \tau}$, you can see that $\dot{q} = \bar{q}/\bar{t}$. FYI this form preserves the action.