Energy Dissipation and Decoherence in Solid-State Quantum Devices: Markovian versus non-Markovian Treatments