Could there be something wrong with the immobilizer transponder in one of your keys? Or possibly an intermittent electrical issue with your central locking unit? I was just reading
this thread which is somewhat similar to yours, except that his car suddenly went totally dead.
Then again this guy technically just had a short in his radio that caused all his problems...