Breakdown of Die Angewohnheit, abends lange aufs Handy zu schauen, stört meine Erholung.
Questions & Answers about Die Angewohnheit, abends lange aufs Handy zu schauen, stört meine Erholung.
The comma separates the noun Die Angewohnheit from the following zu‑infinitive group abends lange aufs Handy zu schauen.
Grammatically, that infinitive group functions like an adjective that specifies which habit:
Die Angewohnheit, [nämlich die Angewohnheit] abends lange aufs Handy zu schauen, …
In modern German spelling, the comma before such zu‑infinitive groups is often optional but very common here, because it makes the sentence easier to read. Most careful writers would keep this comma in this example.
abends is an adverb of time meaning in the evenings / at night (habitually). It describes how often or when something usually happens.
- abends = in the evening(s) as a general, repeated time:
Ich lese abends. – I read in the evenings (as a habit). - am Abend = on one specific evening or a specific occasion:
Am Abend war ich müde. – In the evening (that day) I was tired.
In the sentence, abends fits well because Die Angewohnheit already suggests a repeated, habitual action.