The 'homeowner' level plug-in electric stapler/brad-nailers are usually rather weak. I have one, brand name too. It will work OK for pine and soft woods but can not really sink the brads (or staples, except for the short leg ones) well in harder woods like oak.
If you want the electric nailer to work, you pretty much have to go either pneumatic

or the cordless tool version of the pneumatic nailer. Pneumatic nailers work well and are lightweight but you need some sort of air compressor and an air hose. Cordless nailers can work well, but are bigger and heavier (usually) than pneumatic ones and the batteries can be expensive and don't have a long lifetime (not use time but lifetime) but you don't need an air compressor or an air hose.
For use on 'trim', you can go with a headless pin nailer or an 18 gauge brad nailer or a 15 or 16 gauge finish nailer.
Headless pin nailer is useful for things like pinning small trim molding in place on furniture while the glue dries. Not so useful for nailing baseboard trim or shoe molding or crown molding to a wall in a house. Not enough holding power (because it is just a straight headless pin). But that headless pin is so small in diameter that you usually don't even have to fill in the hole when finishing the wood, no putty or filler needed.
The 18 gauge brad nailer can sometimes nail trim to a house wall.
The 15/16 gauge finish nailer shoots a bigger diameter finish nail, which has a small head (but bigger than the head on a brad).
Some info
https://www.thisoldhouse.com/tools/21273347/how-to-choose-a-finish-nailer