Forgot to mention solar panel is connected with charge controller as well. And battery is good old lead acid wet type. When it is sunny, the 20 Watt solar charger will keep on charging the battery. If the battery is fully charged, its voltage is 13.8 V. At that time the AC adapter which provides 13.5 V hooked in parallel should not cause problem (me thinks).
And when I am using the computer (that needs 12V, 2A but can safely work until voltage goes up to 14V) it will get the power from AC adapter (if mains is ON) via battery as a bank. When the power goes out, computer will get at the most 13V (which slowly drops depending on how long I use). I found that after 1 hour usage, the battery voltage drops down to 12.6 V.
13.5 V adapter is meant only as a way to not let the battery voltage drop below 13.5 V when mains is ON. That way solar charger wouldn't take too long to replenish battery charge.
Regarding diode, doesn't solar panel already have one built-in? And what if I use lower capacity panel (let's say 5 W) without charge controller?
Thanks.