Asalaamualaykum - His obligations would only be to what his/her mental capacity allows him/her to be.
In The Hanafi School of thought - many centuries ago certain Ulema have written long thesis on this topic and its very interesting, Speak to a local Aalima.