There are probably regional differences - most of my experience is in Skåne where ridership has increased a lot in the past 10 years but there has been little infrastructure investment in the chokepoints outside of the big Citytunneln project. The local train company (Skånetrafiken) has tried hard to work around the deficiencies by doing things like keeping spare trains on standby in case of delays but it doesn't help when there is ripped catenary or "signaling errors" due to lack of maintenance.
The real problems seem to be on the national lines (SJ2000) where the lack of maintenance compounds with the lack of any redundancy to cause cascading delays
MTR does provide a nice alternative to SJ though when you want to get to Göteborg, Malmö or Köpenhamn.
For a country as big as Sweden though there's a notable lack of high-speed rail to anything north of Stockholm and there doesn't seem to be any interest or incentive to improve that situation.