EOSC bit it was .. It must be cleared for once .. Then the Vbat takes the job when the primary power source is removed ...
Thanks to everyone for correcting the syntax mistake in my code .. The paranthesis .... God .. How can I be so blind ...