有心 can be positive (considerate, well-intentioned) or neutral (deliberate, intentional). Context determines which: 有心人 = a thoughtful/determined person; 有心伤害 = to deliberately harm.
grammar
Opposite of 无心 (wúxīn, unintentional). The pair 有心/无心 is commonly used: 有心栽花花不开,无心插柳柳成荫 (deliberate effort fails, accidental effort succeeds).