We need a defenition of "patent"
Patents were originally to allow the inventors of a device or idea to benefit from it for a while. A good example was obstetric forceps,
Over the 20th century, this changed into something that stopped other people using an idea at all. An example is how oil companies used them to prevent Electric Vehicles from catching on.
By the end of the 20th century, This moved into a mobile telephone manufacturer using them to cut down competition (don't innovate, litigate).
This only ever delayed progress. The forceps are now available to whoever needs them, EVs are selling in ever increasing numbers and, outside the USA, that brand of smartphone is mainly used by the uninformed with too much money (expect downvotes from iFans here)
What should be done? Firstly, patents should be returned to their initial length - was that 17 years?
Secondly, that period should only be patents still owned by the individuals who created them. Any patent that is owned by a corporation should automatically be halved in length. Any that were owned from their start should never even get to the full length.
Finally, any patent troll that loses an attempt should automatically be fined 100 times what they were suing for as a minimum or a minimum % of their annual turnover - whichever is greater,